Decoding content-disposition-filename HTTP header

Maksim Orlovich mo85 at cornell.edu
Sun Sep 14 19:08:44 BST 2008


> Ps. Is it correct that the decoding should be made in
> TransferJob::slotMetaData()?

Well, it's parsed in
http://lxr.kde.org/source/KDE/kdelibs/kioslave/http/http.cpp#3539,
so I think that would be the better place to handle it since the KIO
metadata is in unicode already.

Though, this makes me wonder whether some of the other headers may need
this sort of MIME-style decoding, though. Thiago, do you perhaps know?






More information about the kde-core-devel mailing list