Pdf downloader not respecting custom headers

Hi team,

The PDF files I am accessing require custom headers for authentication reasons. I use customHeaders option for docViewer.loadDocument to set these, however these are being ignored when useDownloader is true (which is the default I think). I can see my headers come through when I set useDownloader to false, however I want to use the range request functionality.

Thanks, Luke.