Re: #341: whitespace in request-lines and status-lines

On Mon, Feb 20, 2012 at 09:46:18PM -0800, Roy T. Fielding wrote:
> On Feb 20, 2012, at 8:31 PM, Mark Nottingham wrote:
> 
> > OK, but currently we don't talk about multiple spaces (or other whitespace) in the top-line anywhere; what's the appropriate vehicle?
> 
> There is no vehicle needed.  As I said in the ticket, the only interoperable behavior
> is to send a single SP. If some implementations choose to receive more than one space,
> that's their choice -- it is still not interoperable to send more than one space.
> The ABNF defines what is valid to send, not what is robust to parse.  I'd rather change
> Apache httpd's parser to forbid extra spaces than make the request-line less predictable.

Agreed!

Willy

Received on Tuesday, 21 February 2012 06:15:20 UTC