• About TV's server
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • DefaultHTTPVariables structure

    Contains information about the received HTTP request header.

    Syntax

    typedef struct DefaultHTTPVariables{
    char *httpVersion;
    char *method;
    char *url;
    char *host;
    char *date;
    char *range;
    char *accept;
    char *pragma;
    char *cookie;
    char *referer;
    char *ifMatch;
    char *ifRange;
    char *userAgent;
    char *connection;
    char *contentType;
    char *authorization;
    char *cacheControl;
    char *ifNoneMatch;
    char *contentLength;
    char *acceptLanguage;
    char *acceptEncoding;
    char *ifModifiedSince;
    char *ifUnmodifiedSince;
    } DefaultHTTPVariables;

    Members

    httpVersionmethodurlhostdaterangeacceptpragmacookierefererifMatchifRangeuserAgentconnectioncontentTypeauthorizationcacheControlifNoneMatchcontentLengthacceptLanguageacceptEncodingifModifiedSinceifUnmodifiedSince

    Remarks

    These values are not modified and can still contain escaped characters, use function ConvertEscapedCharactersToBytes to unescape these characters.

    Requirements

    Minimum supported API 1.00
    Header tvs_server_http_protocol
    .h