vtest "Filter hop-by-hop headers out of h2 responses"

server s1 {
	rxreq
	txresp
} -start

vinyl v1 -cliok "param.set feature +http2"
vinyl v1 -vcl+backend {
	sub vcl_deliver {
		set resp.http.Keep-Alive = "timeout=5, max=1000";
		set resp.http.Connection = "other";
		set resp.http.Other = "foo";
	}
} -start

client c1 {
	stream 1 {
		txreq
		rxresp
		expect resp.http.keep-alive == <undef>
		expect resp.http.connection == <undef>
		expect resp.http.other == <undef>
	} -run
} -run
