Forum Discussion
hooleylist
Nov 20, 2006Cirrostratus
So it looks like the CONNECT method doesn't require the Host header then. Can you add some logging to see what you're getting for the HTTP::uri and other headers?
when HTTP_REQUEST {
if { [HTTP::method] == "CONNECT" }{
log local0. "Host: [HTTP::host]"
log local0. "URI: [HTTP::uri]"
set cnt 0
foreach aHeader [HTTP::header names] {
log local0. "h$cnt: $aHeader: [HTTP::header $aHeader]"
incr cnt
}
}
}
[edited to just log for CONNECT requests]
Aaron