Re: IE6 and sending PDF
From: Gregor Rot (zara4tustra_at_yahoo.com)
Date: 01/17/04
- Next message: Agelmar: "Re: IE6 and sending PDF"
- Previous message: John Dunlop: "Re: IE6 and sending PDF"
- In reply to: John Dunlop: "Re: IE6 and sending PDF"
- Next in thread: Agelmar: "Re: IE6 and sending PDF"
- Reply: Agelmar: "Re: IE6 and sending PDF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 17 Jan 2004 00:00:19 +0100
John Dunlop wrote:
> Gregor Rot wrote:
>
>
>>I have resolved the problem:
>
>
> The real problem was with your "browser", not how you serve the file.
> Configure it to behave as you wish.
>
>
>> >>> Content-Disposition: filename=somefile.pdf
>
>
> That is a malformed Content-Disposition header according to RFC1806
> sec. 2 (and RFC1506, sec. 4). A disposition type, or extension-token
> is required.
>
Well you are wrong somewhere, because if i point my browser to a regular
pdf file on a site, IE opens it within the browser.
If i serve the file over the described php program, i get a dialog
(Open, Save, etc, and Open opens a new Acrobat instance), all that
assuming: "Content-Disposition: attachment; filename=somefile.pdf"
^^^^^^^^^^^
So i don't have any problem with my browser setup, it's a disposition
problem. If "attachment" is written, the browser treats the data as "an
attachment", and automatically offers the dialog Open, Save, etc...
Seeing your knowledge of the RFCs and all I would be very happy if you
could write the correct disposition for the desidered behaviour (sending
a pdf, and making IE behave like receiving a regular pdf file, opening
it within the browser - this is the default IE setup after Acrobat
Reader is installed = an ActiveX control is installed and opened
automatically after clicking on a pdf file on a site, opening the file
in the ActiveX control, loaded in the browser).
tnx,
Greg
- Next message: Agelmar: "Re: IE6 and sending PDF"
- Previous message: John Dunlop: "Re: IE6 and sending PDF"
- In reply to: John Dunlop: "Re: IE6 and sending PDF"
- Next in thread: Agelmar: "Re: IE6 and sending PDF"
- Reply: Agelmar: "Re: IE6 and sending PDF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|