"Fossies" - the Fresh Open Source Software Archive

Member "varnish-6.3.1/bin/varnishtest/tests/a02004.vtc" (11 Oct 2019, 214 Bytes) of package /linux/www/varnish-6.3.1.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 varnishtest "Simple request with body"
    2 
    3 server s1 {
    4 	stream 1 {
    5 		rxreq
    6 		txresp -body "bob"
    7 	} -run
    8 } -start
    9 
   10 client c1 -connect ${s1_sock} {
   11 	stream 1 {
   12 		txreq
   13 		rxresp
   14 		expect resp.bodylen == 3
   15 	} -run
   16 } -run