[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#31662: konqueror displays web pages with "content-disposition: attachment" inline
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2001-09-01 20:37:12
[Download RAW message or body]
On Friday 31 August 2001 10:16, Andrej Koelewijn wrote:
> Dawit Alemayehu wrote:
> > On Monday 27 August 2001 08:16, andrej@redwood.nl wrote:
> >>Package: konqueror
> >>Version: 2.2 (using KDE 2.2.0 )
> >>Severity: wishlist
> >>Installed from: SuSE
> >>Compiler: gcc version 2.95.2 19991024 (release)
> >>OS: Linux (i686) release 2.4.0-4GB
> >>OS/Compiler notes:
> >>
> >>Konqueror does not support the http header: Content-Disposition:
> >>attachment. I don't know if this is a standard or not, but msie presents
> >>the user with a 'save file' window when this http header is present in
> >> the response of the webserver. This way you can present the user with a
> >> save link, even for formats that are usually displayed by the browser
> >> (html, text etc).
> >>
> >>Thanks!
> >
> > Hi Andrej,
> >
> > We do support Content-Disposition. If it does not work then it must be a
> > bug somewhere. Do you have a link for a site where this happens ?
> >
> > Regards,
> > Dawit A.
>
> Hi,
> The page is on our intranet, so I can't give you a link. :-(
> Here are the headers as displayed using lynx:
>
> HTTP/1.0 200 OK
> Content-Type: text/html; charset=ISO-8859-1
> Cache-Control: no-store
> Pragma: no-cache
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Content-Disposition: attachment
> Servlet-Engine: Tomcat Web Server/3.2.2 (JSP 1.1; Servlet 2.2; Java
> 1.3.0; Linux 2.4.0-4GB x86; java.vendor=IBM Corporation)
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>
> <snip>
>
> Konqueror displays this page in the browser, no save file window is
> displayed.
>
> Regards,
Hi Andrej,
Ehh... the file-name paramter is missing from the Content-Disposition field or did
you purposefully cut it out ? Anyways, I still have to check is whether or not we
prompt the user with the "Save As" dialog for html content even when the Content
-Disposition: field is present. That is probably what is causing this issue.
Regards,
Dawit A.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic