1use strict; 2use warnings; 3 4our %args = ( 5 client => { 6 func => \&http_client, 7 loggrep => { 8 qr/403 Forbidden/ => 1, 9 qr/Content-Type: text\/html/ => 1 10 }, 11 path => "query?foo=bar&ok=yes", 12 httpnok => 1, 13 nocheck => 1, 14 }, 15 relayd => { 16 protocol => [ "http", 17 'return error', 18 'block', 19 'match request query log "foo" value "bar" label "expect_foobar_label"', 20 ], 21 loggrep => qr/Forbidden.*403 Forbidden.*expect_foobar_label.*foo: bar/, 22 }, 23 server => { 24 noserver => 1, 25 nocheck => 1, 26 }, 27); 28 291; 30