Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Regarding Response headers in AEM 6.3 Despatcher

boomar53364785
Level 2
Level 2

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.

 

1 Reply
Arun_Patidar
Community Advisor
Community Advisor

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