[Opera-Linux] Opera ignores content-disposition?

Jacek Osiecki joshua at hybrid.pl
Wed Feb 25 13:22:25 UTC 2009


Hi,

I can't check if this is just a linux version problem or general opera, but
it seems that opera 9.62 ignores a Content-Disposition: HTTP header when it
is sent after requesting for a .htm file...

Example: http://ekospalarnia.krakow.pl/209,Download.htm
Opera shows open/save dialog, but then saves it under DP23022009.html
instead of DP23022009.pdf. Othen browsers perform correctly here.

When I request it without using mod_rewrite, Opera tries to save a file with
correct suffix: http://ekospalarnia.krakow.pl/getFile.php?type=file&id=209

Looks like a bug to me...

And to assure that headers are correct:

joshua at pingwin ~> telnet ekospalarnia.krakow.pl 80
Trying 217.73.31.4.80...
Connected to www3.kernel.pl.
Escape character is '^]'.
HEAD /209,Download.htm HTTP/1.0
Host: ekospalarnia.krakow.pl

HTTP/1.1 200 OK
Date: Wed, 25 Feb 2009 12:51:13 GMT
Server: Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7m mod_perl/2.0.3
Perl/v5.8.8
Set-Cookie: PHPSESSID=090619d82220352d4edf8c121e5452b3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Content-Disposition: attachment; filename="DP23022009.pdf"
Connection: close
Content-Type: application/octet-stream

Connection closed by foreign host.

Best regards,
-- 
Jacek Osiecki joshua at ceti.pl GG:3828944
I don't want something I need. I want something I want.


More information about the Opera-Linux mailing list