Subject: | GET.pl example fails for reddit.com |
Seems that the GET.pl example is unsuccessful with some URLs, notably
www.reddit.com. Suspect it may be the chunked transfer-encoding:
GET http://www.reddit.com
User-Agent: lwp-request/6.00 libwww-perl/6.02
200 OK
Connection: close
Connection: Transfer-Encoding
Date: Wed, 30 Nov 2011 13:04:33 GMT
Server: '; DROP TABLE servertypes; --
Content-Type: text/html; charset=UTF-8
Client-Date: Wed, 30 Nov 2011 13:04:36 GMT
Client-Peer: 84.53.132.34:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Link: <http://www.redditstatic.com/reddit.2ayUrwceAhU.css>;
rel="stylesheet"; type="text/css"
Link: <http://www.redditstatic.com/favicon.ico>; rel="shortcut icon";
type="image/x-icon"
Link: <http://www.reddit.com/.rss>; rel="alternate"; title="RSS";
type="application/rss+xml"
Set-Cookie:
reddit_first=%7B%22organic_pos%22%3A%201%2C%20%22firsttime%22%3A%20%22first%22%7D;
Domain=reddit.com; expires=Thu, 31 Dec 2037 23:59:59 GMT; Path=/
Title: reddit: the front page of the internet
X-Meta-Description: reddit: the front page of the internet
X-Meta-Keywords: reddit, reddit.com, vote, comment, submit
X-Meta-Title: reddit: the front page of the internet
X-Meta-Viewport: width=800, initial-scale=1
Doesn't call on_header or on_response, just sits there. Identical HTML
content served from an apache instance works fine - if I get a chance
later I'll update the ticket with more details on where it gets to.
cheers,
Tom