MythTV
master
|
#include "mythlogging.h"
#include "unziputil.h"
#include "http/mythmimedatabase.h"
#include "http/mythhttpdata.h"
#include "http/mythhttpfile.h"
#include "http/mythhttpresponse.h"
#include "http/mythhttpencoding.h"
#include <QDomDocument>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
Go to the source code of this file.
Macros | |
#define | LOC QString("HTTPEnc: ") |
Typedefs | |
using | MimePair = std::pair< float, QString > |
Parse the incoming HTTP 'Accept' header and return an ordered list of preferences. More... | |
#define LOC QString("HTTPEnc: ") |
Definition at line 16 of file mythhttpencoding.cpp.
using MimePair = std::pair<float,QString> |
Parse the incoming HTTP 'Accept' header and return an ordered list of preferences.
We retain the original MIME types rather than converting to a MythMimeType as this potentially converts an alias type to its parent (i.e. QMimeDatabase will always return application/xml for xml types).
Definition at line 29 of file mythhttpencoding.cpp.