content-disposition in HTTP headers

Allan Sandfeld Jensen kde at carewolf.com
Sat Mar 11 16:34:40 GMT 2006


Hi

It doesn't seems like Konqueror is honoring content-disposition:attachment in 
HTTP. Though the bug http://bugs.kde.org/show_bug.cgi?id=31662 has been 
closed. I think maybe the bug regressed after closing 
http://bugs.kde.org/show_bug.cgi?id=33769, since we do not parse the filename 
and type separately.

The following patch implements separate passing of the content-disposition 
type and filename, and uses the type to decide on embedding in konq_run.

Is it a problem that I rename the meta-data name in the http kioslave? Should 
I instead keep the filename as content-disposition and put the type under a 
new name?

`Allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: content-disposition.diff
Type: text/x-diff
Size: 4904 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060311/5762b6ca/attachment.diff>


More information about the kfm-devel mailing list