No of visitors who read this post:
529
Category:
Google Chrome
Type:
Question
Author:
Chloe Victoriay
Hi pals,
What is causing the following Error 349 in Google Chrome browser when viewing or uploading .pdf files?
"Duplicate headers received from server
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple Content-Disposition headers received. This is disallowed to protect against HTTP response splitting attacks"
I don't know how to tackle this.
Please help.
- Login or Signup Now to post comments

This fixes an issue where latest version of chrome 16.0.912.63 would give this error when passing a filename to prawnto.
This error was resolved by warping the filename in the content-disposition header in quotes.
WAS: “Content-Description”=>attachment:filename=Name of your file.pdf”
NOW: “Content-Description”=>attachment:filename=\Name of your file.pdf\”
Try it and tell me what you have found the results
Hello Chloe,
Here are some fixes that you may try to solve this error:
Hope this would help.
Luker Malcom