Re: [XMLHttpRequest-tests] XMLHttpRequest/send-entity-body-get-head* tests should not fail if Content-Length is 0 (#980)

So, there's the spec'ed "SHOULD NOT" quoted in https://github.com/w3c/web-platform-tests/issues/980#issuecomment-42806107 versus the real-life concern that we may want to send HEAD requests to scripts that expect POST, and those scripts may stumble and fail if there is no Content-Length.

Plus there's a 3-1 implementation vote in favour of taking the real-life concern into account and sending "0".

I guess we should just go for the 0?

(Obviously we're only really discussing HEAD. It makes no sense to start requiring browsers to send Content-Length: 0 with GET requests when nobody currently does. Although what about for example DELETE?)



View on GitHub: https://github.com/w3c/web-platform-tests/issues/980#issuecomment-61560405

Received on Monday, 3 November 2014 22:21:11 UTC