diff options
author | Michael BrĂ¼ning <michael.bruning@digia.com> | 2012-11-23 21:26:36 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-26 17:33:37 +0100 |
commit | 3279ed584ec132b305ef2079b22952fc62511b04 (patch) | |
tree | bbb724f64b2f47e02e2c163db0c3c6fc9a125e81 /qmake/meta.cpp | |
parent | 1c818c34eacd746eb718a4e4f1e60a16f37e0c65 (diff) |
Only allow caching for HTTP GET and HEAD requests.
Added a method to QNetworkReplyHttpImplPrivate to check whether the
HTTP operation used in the current request allows for caching. This
should only be the case if the operation is GET or HEAD. The response
to all other request are not really cacheable and should be disallowed
from caching.
Change-Id: I7c31bae42814d157a800d43565e5cb9adfb879f7
Task-number: QTBUG-28035
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Reviewed-by: Peter Hartmann <phartmann@rim.com>
Diffstat (limited to 'qmake/meta.cpp')
0 files changed, 0 insertions, 0 deletions