Review Request: HTTP ioslave: do not require incoming headers to have spaces after colon
Dawit Alemayehu
adawit at kde.org
Tue Apr 17 00:34:41 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104625/#review12545
-----------------------------------------------------------
But your change now makes it possible to have a header without any spaces after the colon as well. Despite that only affecting headers from the cache, which what your patch does, I do not see the point here. Do you want to support cases where there is no space between the ':' and the header content ?
- Dawit Alemayehu
On April 16, 2012, 8:30 p.m., Rolf Eike Beer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104625/
> -----------------------------------------------------------
>
> (Updated April 16, 2012, 8:30 p.m.)
>
>
> Review request for kdelibs.
>
>
> Description
> -------
>
> The RfCs suggest to use a single space after the colon in HTTP headers, but any amount of whitespace is allowed. This has been fixed for Content-Disposition headers a while ago. Now also fix it for the other headers we explicitely check here.
>
>
> Diffs
> -----
>
> kioslave/http/http.cpp f7aa857
>
> Diff: http://git.reviewboard.kde.org/r/104625/diff/
>
>
> Testing
> -------
>
> Still compiles and I see no breakage.
>
>
> Thanks,
>
> Rolf Eike Beer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120416/44329cbd/attachment.htm>
More information about the kde-core-devel
mailing list