17 #ifndef NURIA_HTTPPARSER_HPP
18 #define NURIA_HTTPPARSER_HPP
20 #include "httpclient.hpp"
42 bool removeTrailingNewline (QByteArray &data);
49 bool parseFirstLine (
const QByteArray &data, QByteArray &verb, QByteArray &path,
55 bool parseHeaderLine (
const QByteArray &data, QByteArray &name, QByteArray &value);
74 const QByteArray &connectionHeader);
81 bool parseRangeHeaderValue (
const QByteArray &value, qint64 &begin, qint64 &end);
87 QByteArray correctHeaderKeyCase (QByteArray key);
107 #endif // NURIA_HTTPPARSER_HPP
TransferMode
Definition: httpclient.hpp:197
HttpVerb
Definition: httpclient.hpp:137
HttpVersion
Definition: httpclient.hpp:127
Definition: abstractsessionmanager.hpp:24
Parser functions for the HyperText Transfer Protocol.
Definition: httpparser.hpp:30
QMap< QByteArray, QNetworkCookie > Cookies
Definition: httpclient.hpp:517