Sending compressed files to viewer gives an error

From the load document method I use a Spring Boot REST url with a redirect to a pre-signed url. I noticed that this endpoint is called twice by Apryse webviewer before loading the pdf. The first time it is called with Accept-Encoding “identity” and the second time with the Accept-Encoding “gzip, deflate, br, zstd“. The first time I do not redirect. The second time I redirect to a GET pre-signed url. This works!

1 Like