2016-06-12 22:27:24 +02:00
|
|
|
#ifndef QTHTTPHEADER_H
|
|
|
|
#define QTHTTPHEADER_H
|
|
|
|
|
|
|
|
class QByteArray;
|
|
|
|
|
2019-07-21 15:03:50 +02:00
|
|
|
class QtHttpHeader
|
|
|
|
{
|
2016-06-12 22:27:24 +02:00
|
|
|
public:
|
2019-07-21 15:03:50 +02:00
|
|
|
static const QByteArray & Server;
|
|
|
|
static const QByteArray & Date;
|
|
|
|
static const QByteArray & Host;
|
|
|
|
static const QByteArray & Accept;
|
|
|
|
static const QByteArray & ContentType;
|
|
|
|
static const QByteArray & ContentLength;
|
|
|
|
static const QByteArray & Connection;
|
|
|
|
static const QByteArray & Cookie;
|
|
|
|
static const QByteArray & UserAgent;
|
|
|
|
static const QByteArray & AcceptCharset;
|
|
|
|
static const QByteArray & AcceptEncoding;
|
|
|
|
static const QByteArray & AcceptLanguage;
|
|
|
|
static const QByteArray & Authorization;
|
|
|
|
static const QByteArray & CacheControl;
|
|
|
|
static const QByteArray & ContentMD5;
|
|
|
|
static const QByteArray & ProxyAuthorization;
|
|
|
|
static const QByteArray & Range;
|
|
|
|
static const QByteArray & ContentEncoding;
|
|
|
|
static const QByteArray & ContentLanguage;
|
|
|
|
static const QByteArray & ContentLocation;
|
|
|
|
static const QByteArray & ContentRange;
|
|
|
|
static const QByteArray & Expires;
|
|
|
|
static const QByteArray & LastModified;
|
|
|
|
static const QByteArray & Location;
|
|
|
|
static const QByteArray & SetCookie;
|
|
|
|
static const QByteArray & TransferEncoding;
|
|
|
|
static const QByteArray & ContentDisposition;
|
2019-07-18 22:32:06 +02:00
|
|
|
static const QByteArray & AccessControlAllow;
|
2017-11-20 00:06:45 +01:00
|
|
|
// Websocket specific headers
|
|
|
|
static const QByteArray & Upgrade;
|
|
|
|
static const QByteArray & SecWebSocketKey;
|
|
|
|
static const QByteArray & SecWebSocketProtocol;
|
|
|
|
static const QByteArray & SecWebSocketVersion;
|
2016-06-12 22:27:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTHTTPHEADER_H
|