|
MythTV master
|
#include <libmythbase/http/mythhttpencoding.h>
Static Public Member Functions | |
| static QStringList | GetMimeTypes (const QString &Accept) |
| static void | GetContentType (MythHTTPRequest *Request) |
| Parse the incoming Content-Type header for POST/PUT content. More... | |
| static MythMimeType | GetMimeType (HTTPVariant Content) |
| Return a QMimeType that represents Content. More... | |
| static MythHTTPEncode | Compress (MythHTTPResponse *Response, int64_t &Size) |
| Compress the response content under certain circumstances or mark the content as 'chunkable'. More... | |
Static Protected Member Functions | |
| static void | GetURLEncodedParameters (MythHTTPRequest *Request) |
| static void | GetXMLEncodedParameters (MythHTTPRequest *Request) |
| static void | GetJSONEncodedParameters (MythHTTPRequest *Request) |
Definition at line 7 of file mythhttpencoding.h.
|
static |
Compress the response content under certain circumstances or mark the content as 'chunkable'.
This only supports gzip compression. deflate is simple enough to add using qCompress but Qt adds a header and a footer to the result, which must be removed. deflate does save a handful of bytes but we don't really need to support both.
Definition at line 306 of file mythhttpencoding.cpp.
Referenced by MythHTTPResponse::AddContentHeaders().
|
static |
Parse the incoming Content-Type header for POST/PUT content.
Definition at line 74 of file mythhttpencoding.cpp.
Referenced by MythHTTPRequest::MythHTTPRequest().
|
staticprotected |
Definition at line 207 of file mythhttpencoding.cpp.
Referenced by GetContentType().
|
static |
Return a QMimeType that represents Content.
Definition at line 257 of file mythhttpencoding.cpp.
Referenced by MythHTTPResponse::AddContentHeaders().
|
static |
Definition at line 30 of file mythhttpencoding.cpp.
Referenced by MythHTTPService::HTTPRequest().
|
staticprotected |
Definition at line 107 of file mythhttpencoding.cpp.
Referenced by GetContentType().
|
staticprotected |
Definition at line 136 of file mythhttpencoding.cpp.
Referenced by GetContentType().