QHttpHeader Class Reference
[QtNetwork module]
Inherited by QHttpRequestHeader and QHttpResponseHeader.
Methods
- __init__ (self)
- __init__ (self, QHttpHeader)
- __init__ (self, QString)
- addValue (self, QString, QString)
- QStringList allValues (self, QString)
- int contentLength (self)
- QString contentType (self)
- bool hasContentLength (self)
- bool hasContentType (self)
- bool hasKey (self, QString)
- bool isValid (self)
- QStringList keys (self)
- int majorVersion (self)
- int minorVersion (self)
- bool parse (self, QString)
- bool parseLine (self, QString, int)
- removeAllValues (self, QString)
- removeValue (self, QString)
- setContentLength (self, int)
- setContentType (self, QString)
- setValid (self, bool)
- setValue (self, QString, QString)
- setValues (self, list-of-tuple-of-QString-QString)
- QString toString (self)
- QString value (self, QString)
- list-of-tuple-of-QString-QString values (self)
Detailed Description
Method Documentation
QHttpHeader.__init__ (self)
QHttpHeader.__init__ (self, QHttpHeader)
QHttpHeader.__init__ (self, QString)
QHttpHeader.addValue (self, QString, QString)
QStringList QHttpHeader.allValues (self, QString)
int QHttpHeader.contentLength (self)
QString QHttpHeader.contentType (self)
bool QHttpHeader.hasContentLength (self)
bool QHttpHeader.hasContentType (self)
bool QHttpHeader.hasKey (self, QString)
bool QHttpHeader.isValid (self)
QStringList QHttpHeader.keys (self)
int QHttpHeader.majorVersion (self)
This method is abstract and should be reimplemented in any sub-class.
int QHttpHeader.minorVersion (self)
This method is abstract and should be reimplemented in any sub-class.
bool QHttpHeader.parse (self, QString)
bool QHttpHeader.parseLine (self, QString, int)
QHttpHeader.removeAllValues (self, QString)
QHttpHeader.removeValue (self, QString)
QHttpHeader.setContentLength (self, int)
QHttpHeader.setContentType (self, QString)
QHttpHeader.setValid (self, bool)
QHttpHeader.setValue (self, QString, QString)
QHttpHeader.setValues (self, list-of-tuple-of-QString-QString)
QString QHttpHeader.toString (self)
QString QHttpHeader.value (self, QString)
list-of-tuple-of-QString-QString QHttpHeader.values (self)