1use strict; 2use warnings; 3 4our %args = ( 5 client => { 6 func => \&http_client, 7 # XXX add more paths to match a case where it pass 8 path => "query?foo=bar&ok=yes", 9 nocheck => 1, 10 httpnok => 1, 11 }, 12 relayd => { 13 protocol => [ "http", 14 'return error', 15 'pass', 16 'block request query log "foo" value "bar" label \ 17 "expect_foobar_return_test"', 18 ], 19 loggrep => { 'Forbidden \(403 Forbidden\), \[expect_foobar_return_test, foo: bar\]' => 1 }, 20 }, 21 server => { 22 noserver => 1, 23 nocheck => 1, 24 }, 25); 26 271; 28