Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QHttpResponseHeader::QHttpResponseHeader ( const QString str  ) 

Constructs a HTTP response header from the string str. The string is parsed and the information is set. The str should consist of one or more "\r\n" delimited lines; the first line should be the status-line (format: HTTP-version, space, status-code, space, reason-phrase); each of remaining lines should have the format key, colon, space, value.

Definition at line 1023 of file qhttp.cpp.

References QHttpHeader::parse().

    : QHttpHeader(*new QHttpResponseHeaderPrivate)
{
    parse(str);
}


Generated by  Doxygen 1.6.0   Back to index