diff options
author | Peter Hartmann <peter.hartmann@nokia.com> | 2009-12-04 16:07:49 (GMT) |
---|---|---|
committer | Peter Hartmann <peter.hartmann@nokia.com> | 2011-03-22 14:49:53 (GMT) |
commit | 8ad504b31a53ea2a7993f5217c68d0c4aa203b2d (patch) | |
tree | db4e742032317d4328c87591e8fadca051d96b45 /tests/auto/qnetworkreply/image3.jpg | |
parent | e3df83e8735124dbd15107b0c083d75d99b98ea9 (diff) | |
download | Qt-8ad504b31a53ea2a7993f5217c68d0c4aa203b2d.zip Qt-8ad504b31a53ea2a7993f5217c68d0c4aa203b2d.tar.gz Qt-8ad504b31a53ea2a7993f5217c68d0c4aa203b2d.tar.bz2 |
network API: add support for HTTP multipart messages
This commit adds two new classes, QHttpPart and QHttpMultiPart, and
two new overloads to QNetworkAccessManager:
post(const QNetworkRequest &request, QHttpMultiPart *multiPart) and
put(const QNetworkRequest &request, QHttpMultiPart *multiPart).
With those classes, it is possible to do a HTTP POST with a multipart
message in a memory-saving way: The data from the parts is not copied
when read from a file or another QIODevice.
Reviewed-by: Markus Goetz
Task-number: QTBUG-6222
Diffstat (limited to 'tests/auto/qnetworkreply/image3.jpg')
-rw-r--r-- | tests/auto/qnetworkreply/image3.jpg | bin | 0 -> 887729 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/qnetworkreply/image3.jpg b/tests/auto/qnetworkreply/image3.jpg Binary files differnew file mode 100644 index 0000000..cede519 --- /dev/null +++ b/tests/auto/qnetworkreply/image3.jpg |