W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2007

[Bug 4586] LWP retrieves empty page

From: <bugzilla@wiggum.w3.org>
Date: Mon, 28 May 2007 22:40:01 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1Hsnsf-0004Qv-7y@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4586





------- Comment #11 from link@pobox.com  2007-05-28 22:40 -------
(In reply to comment #9)
> Could you please test it again?

Sure. I checked a little more in-depth and it looks like the difference is
caused by the value of the 'Connection' HTTP header. When it's 'close' the
server fails to return a body, when the value is 'keep-alive' it performs as
expected.

In the below trace I have elided (marked with []) irrelevant bits for
clarity:

[[[
  $ telnet 201.79.145.166 8081 
  GET /en/Home.htm HTTP/1.0
  Host: athrasoft.com
  Connection: close

  HTTP/1.1 200 OK
  []
  Content-Length: 15617

  Connection closed by foreign host.

  $ telnet 201.79.145.166 8081 
  GET /en/Home.htm HTTP/1.0
  Host: athrasoft.com
  Connection: keep-alive

  HTTP/1.1 200 OK
  []
  Content-Length: 15617

  <!DOCTYPE html []>
  []
  <title>&nbsp;AthraSoft Components &bull; Home of SmartPlugin&nbsp;</title>
  []
]]]
Received on Monday, 28 May 2007 22:40:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:22 UTC