SNAP Library 6.0, Developer Reference
2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <http.h>
Static Public Member Functions | |
static bool | IsHtmlFExt (const TStr &FExt) |
static bool | IsGifFExt (const TStr &FExt) |
static TStr | GetReasonPhrase (const int &StatusCd) |
Static Public Attributes | |
static const TStr | HttpStr ="http" |
static const TStr | SlashStr ="/" |
static const TStr | ColonStr =":" |
static const TStr | ContTypeFldNm ="Content-Type" |
static const TStr | ContLenFldNm ="Content-Length" |
static const TStr | HostFldNm ="Host" |
static const TStr | AcceptRangesFldNm ="Accept-Ranges" |
static const TStr | CacheCtrlFldNm ="Cache-Control" |
static const TStr | AcceptFldNm ="Accept" |
static const TStr | SrvFldNm ="Server" |
static const TStr | ConnFldNm ="Connection" |
static const TStr | FetchIdFldNm ="FetchId" |
static const TStr | LocFldNm ="Location" |
static const TStr | SetCookieFldNm ="Set-Cookie" |
static const TStr | CookieFldNm ="Cookie" |
static const TStr | TextFldVal ="text/" |
static const TStr | TextPlainFldVal ="text/plain" |
static const TStr | TextHtmlFldVal ="text/html" |
static const TStr | TextXmlFldVal ="text/xml" |
static const TStr | TextWmlFldVal ="text/vnd.wap.wml" |
static const TStr | TextJavaScriptFldVal ="text/javascript" |
static const TStr | TextCssFldVal ="text/css" |
static const TStr | ImageIcoFldVal ="image/x-icon" |
static const TStr | ImagePngFldVal ="image/png" |
static const TStr | ImageGifFldVal ="image/gif" |
static const TStr | ImageJpgFldVal ="image/jpg" |
static const TStr | AppOctetFldVal ="application/octet-stream" |
static const TStr | AppSoapXmlFldVal ="application/soap+xml" |
static const TStr | AppW3FormFldVal ="application/x-www-form-urlencoded" |
static const TStr | AppJSonFldVal = "application/json" |
static const TStr | ConnKeepAliveFldVal ="keep-alive" |
static const int | DfPortN =80 |
static const int | OkStatusCd =200 |
static const int | RedirStatusCd =300 |
static const int | BadRqStatusCd =400 |
static const int | ErrStatusCd =400 |
static const int | ErrNotFoundStatusCd =404 |
static const int | InternalErrStatusCd =500 |
static const TStr | GetMethodNm ="GET" |
static const TStr | HeadMethodNm ="HEAD" |
static const TStr | PostMethodNm ="POST" |
static const TStr | UndefMethodNm ="UndefinedMethod" |
|
static |
Definition at line 62 of file http.cpp.
References TInt::GetStr().
Referenced by THttpResp::GetReasonPhrase(), and THttpResp::THttpResp().
|
static |
Definition at line 47 of file http.cpp.
References TStr::GetUc(), and TFile::GifFExt.
|
static |
Definition at line 42 of file http.cpp.
References TStr::GetUc(), TFile::HtmFExt, and TFile::HtmlFExt.
|
static |
|
static |
|
static |
|
static |
Definition at line 13 of file http.h.
Referenced by THttpRq::GetStr(), THttpRq::IsContLen(), and THttpResp::IsContLen().
|
static |
Definition at line 12 of file http.h.
Referenced by THttpRq::IsContType(), and THttpResp::IsContType().
|
static |
Definition at line 46 of file http.h.
Referenced by TUrl::GetAbs().
|
static |
Definition at line 56 of file http.h.
Referenced by THttpRq::GetMethodNm().
|
static |
Definition at line 57 of file http.h.
Referenced by THttpRq::GetMethodNm().
|
static |
Definition at line 48 of file http.h.
Referenced by THttpResp::IsStatusCd_Ok().
|
static |
Definition at line 58 of file http.h.
Referenced by THttpRq::GetMethodNm().
|
static |
Definition at line 49 of file http.h.
Referenced by THttpResp::IsStatusCd_Redir().
|
static |
Definition at line 18 of file http.h.
Referenced by THttpResp::GetSrvNm().
|
static |
Definition at line 25 of file http.h.
Referenced by TWebPg::IsTxt().
|
static |
|
static |
Definition at line 59 of file http.h.
Referenced by THttpRq::GetMethodNm().