Chrome 60 xhr.getResponseHeader("Content-Range") returning undefined


Since Chrome 60 we’ve seen PDFNet failing to open XODs. We’re using WebViewer v2.0 in production, although I have verified the following problem also occurs in Webviewer v3.0.1.

In CoreControls.js there’s a call to retrieve and parse the “Content-Range” header which is failing due to the changes outlined here: Since header casing is now lowercase, xhr.getResponseHeader(“Content-Range”) returns undefined.

Please advise.

The following build handles lowercase “content-range” header:

Please let us know whether that helps and if you have any further questions.