You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the header is missing or does not have the expected value, the regex will be null and the network manager throws at that point, and neither pendingRequest.onError nor pendingRequest.onDone is invoked.
The NetworkManager expects a
Content-Range
header in a specific format:pdf.js/src/display/network.js
Lines 159 to 160 in 07765e9
If the header is missing or does not have the expected value, the regex will be
null
and the network manager throws at that point, and neitherpendingRequest.onError
norpendingRequest.onDone
is invoked.To reproduce:
test/webserver.mjs
, comment outresponse.setHeader("Access-Control-Expose-Headers", "Content-Range");
Expected:
Actual:
The text was updated successfully, but these errors were encountered: