Regarding Response headers in AEM 6.3 Despatcher

Avatar

Avatar

boomar53364785

Avatar

boomar53364785

boomar53364785

15-05-2020

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.

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

27-06-2020

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