blob: c6211fa54dbb9e94f81b33e602cad11f1fd2e670 [file] [log] [blame]
Jerome Magnineb421b22020-03-27 22:08:40 +01001varnishtest "so_name sample fetche Test"
2
3#REQUIRE_VERSION=2.2
4
5feature ignore_unknown_macro
6
7haproxy h1 -conf {
8 defaults
9 mode http
10
11 frontend fe
12 bind "fd@${fe}" name foo
13 http-request return status 200 hdr so-name %[so_name]
14
15} -start
16
17client c1 -connect ${h1_fe_sock} {
18 txreq -url "/"
19 rxresp
20 expect resp.status == 200
21 expect resp.http.so-name == "foo"
22} -run