qBittorrent
types.h File Reference
#include <QHostAddress>
#include <QString>
#include <QVector>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Http::Environment
 
struct  Http::UploadedFile
 
struct  Http::Header
 
struct  Http::Request
 
struct  Http::ResponseStatus
 
struct  Http::Response
 

Namespaces

 Http
 

Typedefs

using Http::HeaderMap = QMap< QString, QString >
 

Variables

const char Http::METHOD_GET [] = "GET"
 
const char Http::METHOD_POST [] = "POST"
 
const char Http::HEADER_CACHE_CONTROL [] = "cache-control"
 
const char Http::HEADER_CONNECTION [] = "connection"
 
const char Http::HEADER_CONTENT_DISPOSITION [] = "content-disposition"
 
const char Http::HEADER_CONTENT_ENCODING [] = "content-encoding"
 
const char Http::HEADER_CONTENT_LENGTH [] = "content-length"
 
const char Http::HEADER_CONTENT_SECURITY_POLICY [] = "content-security-policy"
 
const char Http::HEADER_CONTENT_TYPE [] = "content-type"
 
const char Http::HEADER_DATE [] = "date"
 
const char Http::HEADER_HOST [] = "host"
 
const char Http::HEADER_ORIGIN [] = "origin"
 
const char Http::HEADER_REFERER [] = "referer"
 
const char Http::HEADER_REFERRER_POLICY [] = "referrer-policy"
 
const char Http::HEADER_SET_COOKIE [] = "set-cookie"
 
const char Http::HEADER_X_CONTENT_TYPE_OPTIONS [] = "x-content-type-options"
 
const char Http::HEADER_X_FORWARDED_FOR [] = "x-forwarded-for"
 
const char Http::HEADER_X_FORWARDED_HOST [] = "x-forwarded-host"
 
const char Http::HEADER_X_FRAME_OPTIONS [] = "x-frame-options"
 
const char Http::HEADER_X_XSS_PROTECTION [] = "x-xss-protection"
 
const char Http::HEADER_REQUEST_METHOD_GET [] = "GET"
 
const char Http::HEADER_REQUEST_METHOD_HEAD [] = "HEAD"
 
const char Http::HEADER_REQUEST_METHOD_POST [] = "POST"
 
const char Http::CONTENT_TYPE_HTML [] = "text/html"
 
const char Http::CONTENT_TYPE_CSS [] = "text/css"
 
const char Http::CONTENT_TYPE_TXT [] = "text/plain; charset=UTF-8"
 
const char Http::CONTENT_TYPE_JS [] = "application/javascript"
 
const char Http::CONTENT_TYPE_JSON [] = "application/json"
 
const char Http::CONTENT_TYPE_GIF [] = "image/gif"
 
const char Http::CONTENT_TYPE_PNG [] = "image/png"
 
const char Http::CONTENT_TYPE_FORM_ENCODED [] = "application/x-www-form-urlencoded"
 
const char Http::CONTENT_TYPE_FORM_DATA [] = "multipart/form-data"
 
const char Http::CRLF [] = {0x0D, 0x0A, '\0'}