I've noticed sometimes that when I request a page that's already in the
cache because I accessed it in another browser, it won't load properly.
This is when a page won't work in Opera (my main browser) because of
javascript problems, and then I try it in Mozilla or Netscape.  Mozilla
shows a blank page (show source shows <html><body></body></html>, but
I've since learnt here that Mozilla does that to empty pages, grrr).
Netscape says "communications error".

For no particular reason I tried telnetting to wwwoffle to try it by
hand, after wget didn;t have any problems getting the page through
wwwoffle. I saw this:

$ telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET http://www.digadoka.com/index3.htm HTTP/1.0
        
HTTP/1.0 200 OK
Date: Sat, 02 Mar 2002 21:24:18 GMT
Server: Apache/1.3.20 (Unix) PHP/4.0.5
Last-Modified: Thu, 14 Feb 2002 01:38:43 GMT
ETag: "1cd339-532-3c6b1523"
Accept-Ranges: bytes
Content-Type: text/html
X-Pad: avoid browser bug
Content-Encoding: gzip
Content-Length: 1333
Connection: close
Proxy-Connection: close

<html>

<head>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1">
....



Note how wwwoffle says "Content-Encoding: gzip" even though I didn't ask
for it, but then proceeds to output plain text.  This is probably what's
confusing the hell out of Mozilla and Netscape.  If I delete the
www.digadoka.com cache directory, it works fine in netscape.

I should mention that this version of wwwoffle contains the two patches
that went by here recently (the not-modified and the
request-compressed-data patches). I haven't yet tried backing out these
patches to see if that changes things, I thought I should tell this
first.  I'll try to look at it Sunday.


Paul Slootman

Reply via email to