Line breaking code in the value of XHR.getAllResponseHeaders() has been changed

Published: | Categories: DOM

Description

The XMLHttpRequest.getAllResponseHeaders function returns response headers as strings divided by line breaks. The Firefox implementation has been fixed to use CR+LF (\r\n) instead of LF (\n) as the line breaking code to follow the spec. You should be careful if you’re doing something by reading header information.

References