everybody stand back. i know regular expressions.
'match request header log "X-Header*"',
'match response header log "X-Header*"',
],
- loggrep => { qr/ (?:done|last write \(done\)), \[X-Header-Client: ABC\]\ \[X-Header-Server: XYZ\]/ => 1 },
+ loggrep => { qr/ (?:done|last write \(done\)), \[X-Header-Client: ABC\]\ GET \{X-Header-Server: XYZ\};/ => 1 },
},
server => {
func => \&http_server,
'match response header remove X-Header-Foo',
'match response header log "*Foo"',
],
- loggrep => { qr/ (?:done|last write \(done\)), \{X-Header-Foo: foo \(removed\)\s*\};/ => 1 },
+ loggrep => { qr/ (?:done|last write \(done\)), GET \{X-Header-Foo: foo \(removed\)\s*\};/ => 1 },
},
server => {
func => \&http_server,