MythTV  master
Macros | Variables
httprequest.cpp File Reference
#include "httprequest.h"
#include <QFile>
#include <QFileInfo>
#include <QHostInfo>
#include <QStringList>
#include <QCryptographicHash>
#include <QDateTime>
#include <Qt>
#include <cerrno>
#include <cstdlib>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <iostream>
#include "upnp.h"
#include "libmythbase/compat.h"
#include "libmythbase/configuration.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythtimer.h"
#include "libmythbase/mythversion.h"
#include "libmythbase/unziputil.h"
#include "serializers/xmlSerializer.h"
#include "serializers/soapSerializer.h"
#include "serializers/jsonSerializer.h"
#include "serializers/xmlplistSerializer.h"
Include dependency graph for httprequest.cpp:

Go to the source code of this file.

Macros

#define O_LARGEFILE   0
 

Variables

static std::array< const MIMETypes, 66 > g_MIMETypes
 
static QString StaticPage
 
static constexpr size_t SENDFILE_BUFFER_SIZE { 65536 }
 

Macro Definition Documentation

◆ O_LARGEFILE

#define O_LARGEFILE   0

Definition at line 53 of file httprequest.cpp.

Variable Documentation

◆ g_MIMETypes

std::array<const MIMETypes,66> g_MIMETypes
static

Definition at line 57 of file httprequest.cpp.

Referenced by HTTPRequest::GetMimeType(), and HTTPRequest::GetSupportedMimeTypes().

◆ StaticPage

QString StaticPage
static
Initial value:
=
"<!DOCTYPE html>"
"<HTML>"
"<HEAD>"
"<TITLE>Error %1</TITLE>"
"<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=ISO-8859-1\">"
"</HEAD>"
"<BODY><H1>%2.</H1></BODY>"
"</HTML>"

Definition at line 138 of file httprequest.cpp.

Referenced by HTTPRequest::GetResponsePage().

◆ SENDFILE_BUFFER_SIZE

constexpr size_t SENDFILE_BUFFER_SIZE { 65536 }
staticconstexpr

Definition at line 596 of file httprequest.cpp.

Referenced by HTTPRequest::SendData().