summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkrequest.cpp
diff options
context:
space:
mode:
authorPeter Hartmann <peter.hartmann@nokia.com>2010-02-15 13:19:47 (GMT)
committerPeter Hartmann <peter.hartmann@nokia.com>2010-02-16 10:59:11 (GMT)
commit934b824fbb7a313789de32356664db81dc8576da (patch)
treecd8879613788a3f4876bf0150d62203530f209f5 /src/network/access/qnetworkrequest.cpp
parente5534b9ba700fa2b25fa63e181e2c5f82469875d (diff)
downloadQt-934b824fbb7a313789de32356664db81dc8576da.zip
Qt-934b824fbb7a313789de32356664db81dc8576da.tar.gz
Qt-934b824fbb7a313789de32356664db81dc8576da.tar.bz2
QNetworkAccessManager: add method to send custom requests
This method was added to support e.g. HTTP OPTIONS (needed by Webkit); rather than adding one method for each of those exotic verbs, there is now a generic version for all. Reviewed-by: Markus Goetz Reviewed-by: Andreas Kling Task-number: QTBUG-8206
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
-rw-r--r--src/network/access/qnetworkrequest.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp
index b8438a2..e563f4e 100644
--- a/src/network/access/qnetworkrequest.cpp
+++ b/src/network/access/qnetworkrequest.cpp
@@ -182,6 +182,12 @@ QT_BEGIN_NAMESPACE
Indicates whether the HTTP pipelining was used for receiving
this reply.
+ \value CustomVerbAttribute
+ Requests only, type: QVariant::ByteArray
+ Holds the value for the custom HTTP verb to send (destined for usage
+ of other verbs than GET, POST, PUT and DELETE). This verb is set
+ when calling QNetworkAccessManager::sendCustomRequest().
+
\value User
Special type. Additional information can be passed in
QVariants with types ranging from User to UserMax. The default