Pierre Rossi
406db04c3f
Push the data together with the error in the synchronous case.
...
As it turns out some test cases in QtWebKit rely on this.
Task-number: QTBUG-19556
Change-Id: I84c8abca5e9a018a4057c827fca973b8ebb39df6
Reviewed-on: http://codereview.qt.nokia.com/795
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Markus Goetz
2011-06-29 10:42:23 +02:00
Jyri Tahtela
f9f395c28b
Update licenseheader text in source files for qtbase Qt module
...
Updated version of LGPL and FDL licenseheaders.
Apply release phase licenseheaders for all source files.
Reviewed-by: Trust Me
2011-05-24 12:34:08 +03:00
Peter Hartmann
0c9f327102
HTTP reply: do not load resources from cache that must be revalidated
...
The header field "Cache-Control: must-revalidate" is a strict
requirement for loading the resource from the server, and not reading it
from the cache without revalidating first. With this patch, PreferCache
will load such from the network instead of loading them from the cache,
and AlwaysCache will throw a ContentNotFound error.
Reviewed-by: Markus Goetz
Task-number: QTBUG-18983
2011-05-04 14:34:34 +02:00
Markus Goetz
8e9aa019bb
QNAM HTTP: Removes some comments
2011-05-03 16:47:11 +02:00
Markus Goetz
100b7565aa
QNAM HTTP: More comments
2011-05-03 16:47:09 +02:00
Markus Goetz
9aa2feec0e
QNAM HTTP: Implement abort() and close()
2011-05-03 16:47:07 +02:00
Markus Goetz
718657d8b2
QNAM HTTP: Comments
2011-05-03 16:47:05 +02:00
Markus Goetz
ea4df8586e
QNAM: Function re-ordering
2011-05-03 16:47:03 +02:00
Peter Hartmann
04f2c4a7a7
Revert "HTTP caching internals: fix logic for PreferNetwork and PreferCache"
...
This reverts commit 11838861a23ace66307306cf9c96b3f1910e09a9.
2011-05-03 16:43:56 +02:00
Markus Goetz
6d3044db95
QNAM: Fix initialization order warnings
2011-05-03 16:43:54 +02:00
Markus Goetz
5b2b0a7b35
QNAM HTTP: Fix upload progress signal
2011-05-03 16:42:55 +02:00
Peter Hartmann
a5562d345b
HTTP caching internals: fix logic for PreferNetwork and PreferCache
2011-05-03 16:39:32 +02:00
Peter Hartmann
2aba57d58e
HTTP Network Reply Impl: return earlier when resource loaded from cache
2011-05-03 16:39:30 +02:00
Peter Hartmann
7876177c0c
HTTP Reply implementation: make cache validation method return bool
2011-05-03 16:39:28 +02:00
Peter Hartmann
76e04fdf3d
cache: rename validateCache() to loadFromCacheIfAllowed()
2011-05-03 16:38:45 +02:00
Markus Goetz
43b6320a5a
QNAM: Fix proxy code after refactoring
2011-05-03 16:34:58 +02:00
Peter Hartmann
0b7df28754
fix build
2011-05-03 16:34:56 +02:00
Markus Goetz
a0beeac097
QNAM: Start new HTTP backend architecture
2011-05-03 16:34:54 +02:00
Markus Goetz
f78640e5c2
QNAM: Copy files for new architecture
2011-05-03 16:34:52 +02:00