varnishtest "For HTTP/1.1 requests, Host is mandatory"

server s1 {
	rxreq
	txresp
} -start

varnish v1 -vcl+backend {
} -start

client c1 {
	txreq -proto HTTP/1.1
	rxresp
	expect resp.status == 200
	txreq -proto HTTP/1.1 -nohost
	rxresp
	expect resp.status == 400
	txreq -proto HTTP/1.0 -nohost
	rxresp
	expect resp.status == 200
} -run
