Le 12/08/2013 12:35, Horst Klier a écrit :
> Hello,
> 
>> are you sure you set the content-type header correctly ?
> 
> Thank you. I use this:
> 
> content-type: application/pdf
> content-length: [size in byte]
> content-disposition: attachment; filename="[the filename]"
> 
> It works on Android, iOS, Windows Phone and every Desktop Browser. 
> Now i have tried to remove the "attachment;". And IT WORKS!!!

Yet, according to the RFC, your Content-Disposition is okay:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1

Doesn't it smell like a bug?

> 
> Thanks a lot
> 
> best regards
> Horst
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
> 

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to