XHR.getAllResponseHeaders() now returns header names in lowercase

Published: | Categories: DOM


Starting with Firefox 64, the XMLHttpRequest.getAllResponseHeaders method will return HTTP header names in lowercase letters, according to the current XMLHttpRequest spec. Mozilla once tried to make the change in Firefox 55, but it was reverted during the Nightly development cycle due to several compatibility issues. Now, given that Chrome and Safari have already shipped the change, the compatibility risk should be low.