libwww-5.02 problem

Felix von Leitner (leitner@math.fu-berlin.de)
Mon, 23 Sep 1996 20:20:25 +0200


Here is the debug dump.  I wrote a small WWW mirror and whenever I get a
"304 Not Modified" from my Squid WWW proxy (which I use for debugging),
then libwww does not understand it and gives "500 Unexpected EOF."

Can you fix this?  Do you need more information?

Felix

PS: I'm not on this list, so please reply to me and not only to the
list.  Thanks.

LWP::UserAgent::new: ()
LWP::UserAgent::proxy: http, http://proxy.prz.tu-berlin.de:3128/
Getting http://www.frmug.org/~roberto/mutt/
Setting baseurl to http://www.frmug.org/~roberto/mutt/
  relative URL is /index.html
  destination is /Vol/robinson_h10/emailer/leitner/.public_html/mutt/roberto/index.html
  If-Modified-Since: Mon, 23 Sep 1996 17:59:44 GMT
LWP::UserAgent::request: ()
LWP::UserAgent::simple_request: GET http://www.frmug.org/~roberto/mutt/
LWP::UserAgent::_need_proxy: (http://www.frmug.org/~roberto/mutt/)
LWP::UserAgent::_need_proxy: Proxied
LWP::Protocol::http::request: ()
LWP::Socket::new: Socket GLOB(0x35185c)
LWP::Socket::connect: (proxy.prz.tu-berlin.de, 3128)
LWP::Socket::_getaddress: resolving host 'proxy.prz.tu-berlin.de'...
LWP::Socket::_getaddress:    ...130.149.62.6
LWP::Socket::connect: Connecting to host 'proxy.prz.tu-berlin.de' on port '3128'...
LWP::Socket::write: ()
LWP::IO::write: Write 174 bytes: 'GET http://www.frmug.org/~roberto/mutt/ HTTP/1.0
Host: www.frmug.org
If-Modified-Since: Mon, 23 Sep 1996 17:59:44 GMT
User-Agent: Fefe-Mini-Mirror/0.1 libwww-perl/5.02

'
LWP::Socket::write: ()
LWP::Protocol::http::request: reading response
LWP::Socket::read_until: ('\r?\n',...)
LWP::IO::read: Read 29 bytes
LWP::IO::read: HTTP/1.0 304 Not Modified

LWP::Protocol::http::request: HTTP/1.0 server
LWP::Protocol::http::request: reading rest of response header
LWP::Socket::read_until: ('\r?\n\r?\n',...)
LWP::IO::read: Read 0 bytes
LWP::UserAgent::request: Simple result: Internal Server Error
  Error: 500 Unexpected EOF.