diff -r b72c6db6890b -r 5dc02b23752f src/network/access/qhttpnetworkrequest_p.h --- a/src/network/access/qhttpnetworkrequest_p.h Wed Jun 23 19:07:03 2010 +0300 +++ b/src/network/access/qhttpnetworkrequest_p.h Tue Jul 06 15:10:48 2010 +0300 @@ -72,7 +72,8 @@ Put, Delete, Trace, - Connect + Connect, + Custom }; enum Priority { @@ -103,12 +104,18 @@ Operation operation() const; void setOperation(Operation operation); + QByteArray customVerb() const; + void setCustomVerb(const QByteArray &customOperation); + Priority priority() const; void setPriority(Priority priority); bool isPipeliningAllowed() const; void setPipeliningAllowed(bool b); + bool withCredentials() const; + void setWithCredentials(bool b); + void setUploadByteDevice(QNonContiguousByteDevice *bd); QNonContiguousByteDevice* uploadByteDevice() const; @@ -133,10 +140,12 @@ static QByteArray header(const QHttpNetworkRequest &request, bool throughProxy); QHttpNetworkRequest::Operation operation; + QByteArray customVerb; QHttpNetworkRequest::Priority priority; mutable QNonContiguousByteDevice* uploadByteDevice; bool autoDecompress; bool pipeliningAllowed; + bool withCredentials; };