Missing headers in getResponseHeader Microsoft EdgeHTML 16.16257

Fixed Issue #13364151


scott d.
Aug 22, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Not sure if this is the right place for this bug but was testing a client/api on Edge 16.16257 and noticed that when getting the headers from the ajax response using request.getAllResponseHeaders(); would not return any custom headers.
Was working ok in previous versions.

Viewing the link in Chrome Version 60.0.3112.101 once you click ‘Send request’ button in the results can see the custom x-auth header.

XHR exposed response headers:
content-type: application/json
cache-control: no-cache
x-auth: test
expires: Mon, 21 Aug 2017 11:33:52 GMT

but when running the same example on Edge 16.16257 get the following result:

XHR exposed response headers: 
Cache-Control: no-cache
Content-Type: application/json
Expires: Mon, 21 Aug 2017 11:23:30 GMT

Microsoft EdgeHTML 15.15063

XHR exposed response headers: 
Cache-Control: no-cache
Content-Type: application/json
Access-Control-Allow-Origin: http://www.test-cors.org
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: x-auth
x-auth: test
X-Cloud-Trace-Context: 3fdf25c83c5e5aaa84e8fe49da94d6eb
Date: Mon, 21 Aug 2017 11:49:02 GMT
Server: Google Frontend
Expires: Mon, 21 Aug 2017 11:49:02 GMT
Content-Length: 978


0 attachments

    Comments and activity

    • If the link doesn’t work above

    • Microsoft Edge Team

      Changed Status to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 16281 and is available in our latest Insider Preview build in the Fast ring.

      Best Wishes,
      The MS Edge Team

    • I’m still seeing the same issue in my application.
      My browser version is:
      Microsoft Edge 41.16299.15.0
      Microsoft EdgeHTML 16.16299

      To reproduce, you can check the demo here: http://dicomweb.azurewebsites.net/

      1. Open Developer Tools (F12) and start Network capturing

      2. Click on the “Search” button

      3. Back to the Network tab, inspect the response headers for:
        Request URL: https://dicomcloud.azurewebsites.net/qidors/studies?00200010=&00080020=&00100010=&00100020=&limit=12&offset=0

      4. Notice there is a custom header “X-Total-Count”

      In my JavaScript, I try to get this header but I receive “null”
      var totalCount = xhr.getResponseHeader(“X-Total-Count”);

      Do the same “Search” in Chrome and notice the results contain a pagination control and results count on the “Studies” bar. This is missing in the Edge browser because the header doesn’t exists.

      Is there any workaround to get this value?

    • For simplicity, please check this example page http://test-cors.org/ with the URL: https://dicomcloud.azurewebsites.net/qidors/studies?00200010=&00080020=&00100010=&00100020=&limit=12&offset=0

      Then compare the headers returned from Edge and Chrome browsers. The Chrome browser will contain the header: x-total-count: 44


    You need to sign in to your Microsoft account to add a comment.

    Sign in