[Zope] - ZopeHTTPServer problems with HEAD requests?

skip@calendar.com (Skip Montanaro) skip@calendar.com (Skip Montanaro)
Sat, 9 Jan 1999 11:09:52 -0500 (EST)


I'm having trouble with HEAD requests in ZopeHTTPServer.  Here's the
traceback I get for the request "HEAD / HTTP/1.0":

    Traceback (innermost last):
      File /home/killer-whale/skip/src/Zope-1.9.0-src/lib/python/ZPublisher/Publish.py, line 872, in publish_module
      File /home/killer-whale/skip/src/Zope-1.9.0-src/lib/python/ZPublisher/Publish.py, line 163, in __init__
      File /usr/local/lib/python1.5/cgi.py, line 846, in __init__
      File /usr/local/lib/python1.5/cgi.py, line 690, in parse_header
    TypeError: argument 1: expected read-only buffer, None found

The request "GET / HTTP/1.0" yields the expected page.

Anybody else seen this? Know what to do?

Skip Montanaro	   | Mojam: "Uniting the World of Music" http://www.mojam.com/
skip@calendar.com  | Musi-Cal: http://concerts.calendar.com/
518-372-5583