Review Request 118473: reset m_request.cacheTag dates in sendQuery()
David Faure
faure at kde.org
Mon Jun 2 16:35:00 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118473/#review58997
-----------------------------------------------------------
Ship it!
Well spotted.
Porting bug (from time_t to QDateTime) in b4d30c9fab4c.
- David Faure
On June 2, 2014, 4:07 p.m., Marco Martin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118473/
> -----------------------------------------------------------
>
> (Updated June 2, 2014, 4:07 p.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Repository: kio
>
>
> Description
> -------
>
> In relation to https://bugs.kde.org/show_bug.cgi?id=334767
> seems that kio::file_copy calls fail because a wrong If-Modified-Since: is sent in the request header and the answer is almost always 304 not modified.
>
> I compared the http kioslave with the kde4 version, and i seen that it used to reset m_request.cacheTag.servedDate
> m_request.cacheTag.lastModifiedDate and m_request.cacheTag.expireDate in HTTPProtocol::sendQuery()
>
> This has been removed in the Kf5 port, but if i restore it, KIO::file_copy seems to work correctly again
>
>
> Diffs
> -----
>
> src/ioslaves/http/http.cpp c81ad41
>
> Diff: https://git.reviewboard.kde.org/r/118473/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Marco Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140602/b9b27f8c/attachment.html>
More information about the Kde-frameworks-devel
mailing list