QHttpHeader::parseLine -- parse the HTTP header line


#include <QtNetwork/qhttp.h>

bool QHttpHeader::parseLine(const QString & line, int number);


The QHttpHeader::parseLine() function shall parse the single HTTP header line line which has the format "key, colon, space, value", and shall add key/value to the headers. The line number is a number.

The function shall return true if the line was successfully parsed and the key/value added; otherwise the function shall return false.

This function is not intended to be used used by applications directly, but may appear among application dependencies as a result of usage of other functions and macros.

See Also