Invalid protocol in query results in exception

max@a... max@a...
Mon, 16 Jul 2001 21:50:01 -0000


--- In medusa@y..., Sam Rushing <rushing@n...> wrote:

> max@a... wrote:
> 
> > Sending
> > GET / 1.0\r\n\r\n
> > instead of
> > GET / HTTP/1.0\r\n\r\n
> > to Medusa 3.41 results in:
> > [...]
> 
> > which closes the HTTP connection rather than just responding with
> > a
> > 400 (Bad Request).
> 
> Here's a quick fix:
> 
> Index: http_server.py
> ===================================================================
> RCS file: /usr/local/cvsroot/medusa/http_server.py,v
> retrieving revision 3.41
> retrieving revision 3.43
> diff -r3.41 -r3.43
...

Cool. For the record, I wasn't requesting a fix, just informing you
guys of the bug. I happened to notice it in my testing, but it isn't
a particularly urgent issue for me at the moment. Just wanted to let
you know.