- From: Caitlin Potter <web-platform-tests-notifications@w3.org>
- Date: Tue, 13 May 2014 00:07:46 GMT
- To: public-web-platform-tests-notifications@w3.org
@zcorpan I think that it's not really appropriate to assert the presence or non-presence of "Content-Length", because its presence doesn't really mean anything To have a straight-forward test which matches the behaviour of both sets of browsers, the right thing to do is just assert that the responseText is the empty string, indicating that it is not present (since this indicates that the CGI script didn't receive a request body). The XHR spec simply styates that HEAD requests don't send a request body, it doesn't say anything about the presence or absence of a Content-Length header View on GitHub: https://github.com/w3c/web-platform-tests/issues/980#issuecomment-42903739
Received on Tuesday, 13 May 2014 00:07:53 UTC