httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Protocol question: 304 and content-length
Date Sun, 14 Apr 2002 19:44:37 GMT
Hi all,

Someone posted a bug report in bugzilla claiming that they were having
problems with an IIS v4.0 server returning blank pages through an Apache
proxy. They posted a trace of the request, and this is what the IIS
server said in response to a conditional request (If-None-Match):

HTTP/1.1
304 Not Modified
Server: Microsoft-IIS/4.0 
Date: Thu, 04 Apr 2002 16:05:15 GMT
Content-Location: http://www.dreo.dnd.ca/index.html 
ETag: "c077721eaf49c01:1364"
Content-Length: 0

The above response includes a content-length of zero. RFC2616 10.3.5
says that the cache MUST update the entry with the field values in the
response.

ie: The content-length just forced the cached file to be of zero length.

Looks like a bug in IIS to me - can anyone else confirm this?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message