Re: [whatwg/xhr] Web compat implications of making getAllResponseHeaders lowercase (#146)

This broke one of our tools.  It was especially confusing to debug as the http header was in fact "Content-Type" on the response. 

```
var isJsonResp = response.headers["Content-Type"] == "application/json";
var resp = {
     data: isJsonResp ? JSON.parse(response.data) : response.data,
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/146#issuecomment-320100924

Received on Thursday, 3 August 2017 21:56:35 UTC