[Bug 4586] LWP retrieves empty page

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





------- Comment #4 from contact@athrasoft.com  2007-05-27 08:24 -------
(In reply to comment #3)

> I am yet to try reading the headers from a Delphi program for wich I got the
> source code - ICS from François Piette. I'm going to change one of its sample
> projects so that it traces the read of server headers. I'll let you know if I
> discover something weird (as the duplicate header you mentioned).

Ok, I have just done the test.
This is the header data received by the tool from my server:
----------------------------------------------------------------------
 HTTP/1.1 200 OK
 Server: Microsoft-IIS/5.0
 Content-Type: text/html; charset=Windows-1252
 Cache-Control: no-cache
 Expires: Sun, 27 May 2007 07:41:22 GMT
 Date: Sun, 27 May 2007 07:41:22 GMT
 Content-Type: text/html
 Accept-Ranges: bytes
 Last-Modified: Sat, 26 May 2007 20:28:28 GMT
 ETag: "0fef96ad49fc71:892"
 Content-Length: 15633
 StatusCode = 200
----------------------------------------------------------------------

Ok, the "Content-Type" was partially duplicated, so I changed IIS so that
it does not send that header entry. As result, the "duplication" is gone,
and only the "Content-Type: text/html" entry is returned (although not
sent by IIS). Even though, W3C's validator KEEPS going crazy, and
Validome too starts returning an error.

Then I changed back to the original HTTP Header at server. At least
Validome works fine that way.

If the partially duplicated "Content-Type" was the cause, it would
have worked when I remove it, but it hasn't.

Back to point zero again.
\\:^)

Received on Sunday, 27 May 2007 08:24:13 UTC