ooni-probe-cli/cmd/ooniprobe/internal/nettests/http_invalid_request_line.go

17 lines
347 B
Go
Raw Normal View History

2019-12-02 16:57:55 +01:00
package nettests
// HTTPInvalidRequestLine test implementation
type HTTPInvalidRequestLine struct {
}
// Run starts the test
2019-12-02 16:57:55 +01:00
func (h HTTPInvalidRequestLine) Run(ctl *Controller) error {
builder, err := ctl.Session.NewExperimentBuilder(
"http_invalid_request_line",
)
if err != nil {
return err
}
return ctl.Run(builder, []string{""})
}