Regarding Response headers in AEM 6.3 Despatcher | Community
Skip to main content
boomar53364785
Level 2
May 15, 2020 1:17 PM UTC

Regarding Response headers in AEM 6.3 Despatcher

We are creating generating dynamic PDF with sling servlet and flushing response with 

 

Content-type:application/pdf

Content-Disposition:attachment;filename=downloaded.pdf

 

But these values are missing in response headers and pdf got generated and flushed with the filename with the servlet name without pdf extenstion.

 

response headers are missing it happens only in despatcher and author environment it is working fine.

 

Please provide suggestions.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
New Participant
Jun 27, 2020 8:26 PM UTC

Please check if there are apache rule to strip pdf extension? Are you able to download other PDFs e.g. from dam?

Translate
Arun Patidar