httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <>
Subject Re: Misspelt protocol version treated as HTTP/1.0?
Date Sun, 13 Jun 1999 06:40:49 GMT
>I'm inclined to think this is broken, and that we should pitch
>with a 400 anything that doesn't match "HTTP/[0-9]+\.[0-9]+"
>for the protocol.  The last time I looked, ":" didn't count
>as implied LWSP..

There are times when I'd like a switch to turn on strict parsing
and extended diagnostics, but in general it is better to just be
robust in handling the unexpected.  I wouldn't object to sending
a 400 response, but there are many more improtant things to fix.


View raw message