Review Request 118473: reset m_request.cacheTag dates in sendQuery()

Commit Hook null at kde.org
Mon Jun 2 16:41:45 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118473/#review59000
-----------------------------------------------------------


This review has been submitted with commit 7eea5dcc160d7cd670b10bda9cad5dce2db8e180 by Marco Martin to branch master.

- Commit Hook


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/a37b179d/attachment.html>


More information about the Kde-frameworks-devel mailing list