vtest "Duplicate pseudo-headers"

server s1 {
	rxreq
	txresp
} -start

vinyl v1 -arg "-p feature=+http2" -vcl+backend {
} -start

#client c1 {
#	txreq -url "/some/path" -url "/some/other/path"
#	rxresp
#	expect resp.status == 400
#} -run

#client c1 {
#	txreq -req "GET" -req "POST"
#	rxresp
#	expect resp.status == 400
#} -run

#client c1 {
#	txreq -proto "HTTP/1.1" -proto "HTTP/2.0"
#	rxresp
#	expect resp.status == 400
#} -run

client c1 {
	stream 1 {
		txreq -url "/some/path" -url "/some/other/path"
		rxrst
	} -run
} -run

client c1 {
	stream 1 {
		txreq -scheme "http" -scheme "https"
		rxrst
	} -run
} -run

client c1 {
	stream 1 {
		txreq -req "GET" -req "POST"
		rxrst
	} -run
} -run
