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

Go to the source code of this file.

Macros

#define O_LARGEFILE   0
 
#define SENDFILE_BUFFER_SIZE   65536
 

Variables

static MIMETypes g_MIMETypes []
 
static QString StaticPage
 
static const int g_nMIMELength = sizeof( g_MIMETypes) / sizeof( MIMETypes )
 

Macro Definition Documentation

◆ O_LARGEFILE

#define O_LARGEFILE   0

Definition at line 58 of file httprequest.cpp.

◆ SENDFILE_BUFFER_SIZE

#define SENDFILE_BUFFER_SIZE   65536

Definition at line 646 of file httprequest.cpp.

Variable Documentation

◆ g_MIMETypes

MIMETypes g_MIMETypes[]
static

Definition at line 63 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 141 of file httprequest.cpp.

Referenced by HTTPRequest::GetResponsePage().

◆ g_nMIMELength

const int g_nMIMELength = sizeof( g_MIMETypes) / sizeof( MIMETypes )
static