Quote:
Hi, I get the following in my error log when trying to download.
malformed header from script. Bad header=application/x-rar-compressed
Any idea why?
|
I had a similar problem. In Downloads II > Extensions > Mime Type and Headers, I put "application/pdf" for the pdf file extension (without the quotes). In my case, my server logs just said "file not found" or something to that effect and files could not be downloaded. When I cleared the 'Mime Type and Headers' textbox, I was able to download and no errors were logged. I think the problem is that you either need to leave it blank or fill in the entire header string -- e.g. "Content-type: application/pdf" works. It might be good if a future version of this plugin could either add a help button on this field or do some validation on the user input.