Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Macros | |
#define | CHECK_CNT_TYPE_NAME "Content-Type" |
#define | CHECK_CONTENT_TYPE_HTML "text/html" |
#define | CHECK_CONTENT_TYPE_HTML_CHRS "text/html; charset=WINDOWS-1251" |
#define | CHECK_CONTENT_TYPE_XML_CHRS "text/xml; charset=uTf-8" |
#define | CHECK_CONTENT_TYPE_TEXT "text/plain" |
#define | CHECK_DATE_NAME "Date" |
#define | CHECK_DATE_VALUE1 "Thu, 09 Jan 2014 17:58:30 GMT" |
#define | CHECK_DATE_VALUE2 "Thu, 09 Jan 2014 20:21:20 GMT" |
#define | CHECK_DATE_VALUE3 "Thu, 09 Jan 2014 20:25:02 GMT" |
#define | CHECK_PROT_LINE_200 "HTTP/1.1 200 OK" |
#define | CHECK_PROT_LINE_301 "HTTP/1.1 301 Moved Permanently" |
#define | CHECK_HEADER_SMPL |
#define | CHECK_HEADER_L1 |
#define | CHECK_HEADER_R |
#define | CHECK_HEADER_L2 |
Functions | |
std::string | strReplace (const std::string &str, const std::string &from, const std::string &to) |
TEST (TestHttpHeader, General) | |
TEST (TestHttpHeader, Parse) | |
TEST (TestHttpHeader, Parse_Multiline) | |
TEST (TestHttpHeader, GetValue) | |
TEST (TestHttpHeader, GetValues) | |
TEST (TestHttpHeader, AddParam) | |
TEST (TestHttpHeader, GetMimeType) | |
TEST (TestHttpHeader, GetCharset) | |
#define CHECK_CNT_TYPE_NAME "Content-Type" |
#define CHECK_CONTENT_TYPE_HTML "text/html" |
#define CHECK_CONTENT_TYPE_HTML_CHRS "text/html; charset=WINDOWS-1251" |
#define CHECK_CONTENT_TYPE_TEXT "text/plain" |
#define CHECK_CONTENT_TYPE_XML_CHRS "text/xml; charset=uTf-8" |
#define CHECK_DATE_NAME "Date" |
#define CHECK_DATE_VALUE1 "Thu, 09 Jan 2014 17:58:30 GMT" |
#define CHECK_DATE_VALUE2 "Thu, 09 Jan 2014 20:21:20 GMT" |
#define CHECK_DATE_VALUE3 "Thu, 09 Jan 2014 20:25:02 GMT" |
#define CHECK_HEADER_L1 |
#define CHECK_HEADER_L2 |
#define CHECK_HEADER_R |
#define CHECK_HEADER_SMPL |
#define CHECK_PROT_LINE_200 "HTTP/1.1 200 OK" |
#define CHECK_PROT_LINE_301 "HTTP/1.1 301 Moved Permanently" |
std::string strReplace | ( | const std::string & | str, |
const std::string & | from, | ||
const std::string & | to ) |
TEST | ( | TestHttpHeader | , |
AddParam | ) |
TEST | ( | TestHttpHeader | , |
General | ) |
TEST | ( | TestHttpHeader | , |
GetCharset | ) |
TEST | ( | TestHttpHeader | , |
GetMimeType | ) |
TEST | ( | TestHttpHeader | , |
GetValue | ) |
TEST | ( | TestHttpHeader | , |
GetValues | ) |
TEST | ( | TestHttpHeader | , |
Parse | ) |
TEST | ( | TestHttpHeader | , |
Parse_Multiline | ) |