MythTV  master
mythhttpencoding.h
Go to the documentation of this file.
1 #ifndef MYTHHTTPENCODING_H
2 #define MYTHHTTPENCODING_H
3 
4 // MythTV
6 
8 {
9  public:
10  static QStringList GetMimeTypes(const QString& Accept);
13  static MythHTTPEncode Compress(MythHTTPResponse* Response, int64_t& Size);
14 
15  protected:
19 };
20 
21 #endif
MythHTTPRequest
Limited parsing of HTTP method and some headers to determine validity of request.
Definition: mythhttprequest.h:12
HTTPVariant
std::variant< std::monostate, HTTPData, HTTPFile > HTTPVariant
Definition: mythhttptypes.h:41
MythHTTPResponse
Definition: mythhttpresponse.h:16
MythHTTPEncoding::GetContentType
static void GetContentType(MythHTTPRequest *Request)
Parse the incoming Content-Type header for POST/PUT content.
Definition: mythhttpencoding.cpp:74
MythHTTPEncode
MythHTTPEncode
Definition: mythhttptypes.h:134
MythHTTPEncoding::GetMimeType
static MythMimeType GetMimeType(HTTPVariant Content)
Return a QMimeType that represents Content.
Definition: mythhttpencoding.cpp:244
MythHTTPEncoding
Definition: mythhttpencoding.h:7
MythHTTPEncoding::GetURLEncodedParameters
static void GetURLEncodedParameters(MythHTTPRequest *Request)
Definition: mythhttpencoding.cpp:107
mythhttptypes.h
hardwareprofile.distros.mythtv_data.request.Request
def Request(url=None)
Definition: request.py:62
MythHTTPEncoding::GetJSONEncodedParameters
static void GetJSONEncodedParameters(MythHTTPRequest *Request)
Definition: mythhttpencoding.cpp:194
MythHTTPEncoding::GetXMLEncodedParameters
static void GetXMLEncodedParameters(MythHTTPRequest *Request)
Definition: mythhttpencoding.cpp:136
MythMimeType
Definition: mythmimetype.h:16
MythHTTPEncoding::Compress
static MythHTTPEncode Compress(MythHTTPResponse *Response, int64_t &Size)
Compress the response content under certain circumstances or mark the content as 'chunkable'.
Definition: mythhttpencoding.cpp:293
MythHTTPEncoding::GetMimeTypes
static QStringList GetMimeTypes(const QString &Accept)
Definition: mythhttpencoding.cpp:30
Content
Definition: content.h:36