Subject: | Naive live tests fail behind proxies |
When running behind transparent proxies, a different set of headers is
returned.
As a result, the simple string match for the headers fails, resulting in
the module failing to pass tests, falsely.
main::(t\live\apache.t:39): $err++ unless $buf eq "TRACE
/libwww-perl HTTP/1.1
main::(t\live\apache.t:40): Host: www.apache.org
main::(t\live\apache.t:41): User-Agent: Mozilla/5.0
main::(t\live\apache.t:42): Accept-Language: no,en
main::(t\live\apache.t:43): Accept: */*
DB<8> x $buf
0 'TRACE /libwww-perl HTTP/1.0
Host: www.apache.org
User-Agent: Mozilla/5.0
Accept-Language: no,en
Accept: */*
Via: 1.1 Colossus:3128 (squid/2.5.STABLE14)
X-Forwarded-For: 10.10.31.235
Cache-Control: max-age=259200
Connection: keep-alive