[pmwiki-users] The Content-Disposition Header Field
    Patrick R. Michaud 
    pmichaud at pobox.com
       
    Mon Apr 18 16:20:36 CDT 2005
    
    
  
On Mon, Apr 18, 2005 at 04:03:45PM -0500, Monty wrote:
> >Are any browsers going to care about "inline" versus "attachment" here?
> >My preference would be to always return "attachment", but I don't
> >want a browser to then try to download the inlined image rather than
> >displaying it inline...
> 
> The Content-Disposition header helps the browser to know whether to try 
> at displaying the contents in the window, or whether to save to disk, 
> i.e. "download" and not try displaying (even tho its mimetype could be).
Well, I'm confused here -- given a URL that accesses a resource
such as a gif image, how would a server (e.g., Apache) responding
to the request know the appropriate value for Content-Disposition?
Pm
    
    
More information about the pmwiki-users
mailing list