TI-RTOS Network Services  2.14.04.31
HTTP Standard Definitions

HTTP Request Methods

const char * HTTPStd_GET = "GET"
 
const char * HTTPStd_POST = "POST"
 
const char * HTTPStd_HEAD = "HEAD"
 
const char * HTTPStd_OPTIONS = "OPTIONS"
 
const char * HTTPStd_PUT = "PUT"
 
const char * HTTPStd_DELETE = "DELETE"
 
const char * HTTPStd_CONNECT = "CONNECT"
 

HTTP Content Types

const char * HTTPStd_CONTENT_TYPE_APPLET = "application/octet-stream "
 
const char * HTTPStd_CONTENT_TYPE_AU = "audio/au "
 
const char * HTTPStd_CONTENT_TYPE_CSS = "text/css "
 
const char * HTTPStd_CONTENT_TYPE_DOC = "application/msword "
 
const char * HTTPStd_CONTENT_TYPE_GIF = "image/gif "
 
const char * HTTPStd_CONTENT_TYPE_HTML = "text/html "
 
const char * HTTPStd_CONTENT_TYPE_JPG = "image/jpeg "
 
const char * HTTPStd_CONTENT_TYPE_MPEG = "video/mpeg "
 
const char * HTTPStd_CONTENT_TYPE_PDF = "application/pdf "
 
const char * HTTPStd_CONTENT_TYPE_WAV = "audio/wav "
 
const char * HTTPStd_CONTENT_TYPE_ZIP = "application/zip "
 
const char * HTTPStd_CONTENT_TYPE_PLAIN = "text/plain "
 

HTTP Header Fields

const char * HTTPStd_FIELD_NAME_ACCEPT = "Accept"
 
const char * HTTPStd_FIELD_NAME_ACCEPT_CHARSET = "Accept-Charset"
 
const char * HTTPStd_FIELD_NAME_ACCEPT_ENCODING = "Accept-Encoding"
 
const char * HTTPStd_FIELD_NAME_ACCEPT_LANGUAGE = "Accept-Language"
 
const char * HTTPStd_FIELD_NAME_ACCEPT_RANGES = "Accept-Ranges"
 
const char * HTTPStd_FIELD_NAME_AGE = "Age"
 
const char * HTTPStd_FIELD_NAME_ALLOW = "Allow"
 
const char * HTTPStd_FIELD_NAME_AUTHORIZATION = "Authorization"
 
const char * HTTPStd_FIELD_NAME_CACHE_CONTROL = "Cache-Control"
 
const char * HTTPStd_FIELD_NAME_CONNECTION = "Connection"
 
const char * HTTPStd_FIELD_NAME_CONTENT_ENCODING = "Content-Encoding"
 
const char * HTTPStd_FIELD_NAME_CONTENT_LANGUAGE = "Content-Language"
 
const char * HTTPStd_FIELD_NAME_CONTENT_LENGTH = "Content-Length"
 
const char * HTTPStd_FIELD_NAME_CONTENT_LOCATION = "Content-Location"
 
const char * HTTPStd_FIELD_NAME_CONTENT_MD5 = "Content-MD5"
 
const char * HTTPStd_FIELD_NAME_CONTENT_RANGE = "Content-Range"
 
const char * HTTPStd_FIELD_NAME_CONTENT_TYPE = "Content-Type"
 
const char * HTTPStd_FIELD_NAME_COOKIE = "Cookie"
 
const char * HTTPStd_FIELD_NAME_DATE = "Date"
 
const char * HTTPStd_FIELD_NAME_ETAG = "ETag"
 
const char * HTTPStd_FIELD_NAME_EXPECT = "Expect"
 
const char * HTTPStd_FIELD_NAME_EXPIRES = "Expires"
 
const char * HTTPStd_FIELD_NAME_FROM = "From"
 
const char * HTTPStd_FIELD_NAME_HOST = "Host"
 
const char * HTTPStd_FIELD_NAME_IF_MATCH = "If-Match"
 
const char * HTTPStd_FIELD_NAME_IF_MODIFIED_SINCE = "If-Modified-Since"
 
const char * HTTPStd_FIELD_NAME_IF_NONE_MATCH = "If-None-Match"
 
const char * HTTPStd_FIELD_NAME_IF_RANGE = "If-Range"
 
const char * HTTPStd_FIELD_NAME_IF_UNMODIFIED_SINCE = "If-Unmodified-Since"
 
const char * HTTPStd_FIELD_NAME_LAST_MODIFIED = "Last-Modified"
 
const char * HTTPStd_FIELD_NAME_LOCATION = "Location"
 
const char * HTTPStd_FIELD_NAME_MAX_FORWARDS = "Max-Forwards"
 
const char * HTTPStd_FIELD_NAME_ORIGIN = "Origin"
 
const char * HTTPStd_FIELD_NAME_PRAGMA = "Pragma"
 
const char * HTTPStd_FIELD_NAME_PROXY_AUTHENTICATE = "Proxy-Authenticate"
 
const char * HTTPStd_FIELD_NAME_PROXY_AUTHORIZATION = "Proxy-Authorization"
 
const char * HTTPStd_FIELD_NAME_RANGE = "Range"
 
const char * HTTPStd_FIELD_NAME_REFERER = "Referer"
 
const char * HTTPStd_FIELD_NAME_RETRY_AFTER = "Retry-After"
 
const char * HTTPStd_FIELD_NAME_SERVER = "Server"
 
const char * HTTPStd_FIELD_NAME_TE = "TE"
 
const char * HTTPStd_FIELD_NAME_TRAILER = "Trailer"
 
const char * HTTPStd_FIELD_NAME_TRANSFER_ENCODING = "Transfer-Encoding"
 
const char * HTTPStd_FIELD_NAME_UPGRADE = "Upgrade"
 
const char * HTTPStd_FIELD_NAME_USER_AGENT = "User-Agent"
 
const char * HTTPStd_FIELD_NAME_VARY = "Vary"
 
const char * HTTPStd_FIELD_NAME_VIA = "Via"
 
const char * HTTPStd_FIELD_NAME_WWW_AUTHENTICATE = "WWW-Authenticate"
 
const char * HTTPStd_FIELD_NAME_WARNING = "Warning"
 
const char * HTTPStd_FIELD_NAME_X_FORWARDED_FOR = "X-Forwarded-For"
 

HTTP Standard Ports

#define HTTPStd_PORT   80
 
#define HTTPStd_SECURE_PORT   443
 

HTTP Status Codes

enum  HTTPStd_STATUS_CODE {
  HTTPStd_CONTINUE = 100,
  HTTPStd_SWITCHING_PROTOCOLS = 101,
  HTTPStd_OK = 200,
  HTTPStd_CREATED = 201,
  HTTPStd_ACCEPTED = 202,
  HTTPStd_NON_AUTHORITATIVE_INFORMATION = 203,
  HTTPStd_NO_CONTENT = 204,
  HTTPStd_RESET_CONTENT = 205,
  HTTPStd_PARTIAL_CONTENT = 206,
  HTTPStd_MULTI_STATUS = 207,
  HTTPStd_MULTIPLE_CHOICES = 300,
  HTTPStd_MOVED_PERMANENTLY = 301,
  HTTPStd_FOUND = 302,
  HTTPStd_SEE_OTHER = 303,
  HTTPStd_NOT_MODIFIED = 304,
  HTTPStd_USE_PROXY = 305,
  HTTPStd_TEMPORARY_REDIRECT = 307,
  HTTPStd_BAD_REQUEST = 400,
  HTTPStd_UNAUTHORIZED = 401,
  HTTPStd_PAYMENT_REQUIRED = 402,
  HTTPStd_FORBIDDEN = 403,
  HTTPStd_NOT_FOUND = 404,
  HTTPStd_METHOD_NOT_ALLOWED = 405,
  HTTPStd_NOT_ACCEPTABLE = 406,
  HTTPStd_PROXY_AUTHENTICATION_REQUIRED = 407,
  HTTPStd_REQUEST_TIMEOUT = 408,
  HTTPStd_CONFLICT = 409,
  HTTPStd_GONE = 410,
  HTTPStd_LENGTH_REQUIRED = 411,
  HTTPStd_PRECONDITION_FAILED = 412,
  HTTPStd_REQUEST_ENTITY_TOO_LARGE = 413,
  HTTPStd_REQUEST_URI_TOO_LONG = 414,
  HTTPStd_UNSUPPORTED_MEDIA_TYPE = 415,
  HTTPStd_REQUESTED_RANGE_NOT_SATISFAIABLE = 416,
  HTTPStd_EXPECTATION_FAILED = 417,
  HTTPStd_UNPROCESSABLE_ENTITY = 422,
  HTTPStd_TOO_MANY_REQUESTS = 429,
  HTTPStd_INTERNAL_SERVER_ERROR = 500,
  HTTPStd_NOT_IMPLEMENTED = 501,
  HTTPStd_BAD_GATEWAY = 502,
  HTTPStd_SERVICE_UNAVAILABLE = 503,
  HTTPStd_GATEWAY_TIMEOUT = 504,
  HTTPStd_HTTP_VERSION_NOT_SUPPORTED = 505,
  HTTPStd_STATUS_CODE_END = 600
}
 

Detailed Description

Macro Definition Documentation

#define HTTPStd_PORT   80
#define HTTPStd_SECURE_PORT   443

Enumeration Type Documentation

Enumerator
HTTPStd_CONTINUE 

Informational

HTTPStd_SWITCHING_PROTOCOLS 

Informational

HTTPStd_OK 

Success

HTTPStd_CREATED 

Success

HTTPStd_ACCEPTED 

Success

HTTPStd_NON_AUTHORITATIVE_INFORMATION 

Success

HTTPStd_NO_CONTENT 

Success

HTTPStd_RESET_CONTENT 

Success

HTTPStd_PARTIAL_CONTENT 

Success

HTTPStd_MULTI_STATUS 

Success

HTTPStd_MULTIPLE_CHOICES 

Redirection

HTTPStd_MOVED_PERMANENTLY 

Redirection

HTTPStd_FOUND 

Redirection

HTTPStd_SEE_OTHER 

Redirection

HTTPStd_NOT_MODIFIED 

Redirection

HTTPStd_USE_PROXY 

Redirection

HTTPStd_TEMPORARY_REDIRECT 

Redirection

HTTPStd_BAD_REQUEST 

Client Error

HTTPStd_UNAUTHORIZED 

Client Error

HTTPStd_PAYMENT_REQUIRED 

Client Error

HTTPStd_FORBIDDEN 

Client Error

HTTPStd_NOT_FOUND 

Client Error

HTTPStd_METHOD_NOT_ALLOWED 

Client Error

HTTPStd_NOT_ACCEPTABLE 

Client Error

HTTPStd_PROXY_AUTHENTICATION_REQUIRED 

Client Error

HTTPStd_REQUEST_TIMEOUT 

Client Error

HTTPStd_CONFLICT 

Client Error

HTTPStd_GONE 

Client Error

HTTPStd_LENGTH_REQUIRED 

Client Error

HTTPStd_PRECONDITION_FAILED 

Client Error

HTTPStd_REQUEST_ENTITY_TOO_LARGE 

Client Error

HTTPStd_REQUEST_URI_TOO_LONG 

Client Error

HTTPStd_UNSUPPORTED_MEDIA_TYPE 

Client Error

HTTPStd_REQUESTED_RANGE_NOT_SATISFAIABLE 

Client Error

HTTPStd_EXPECTATION_FAILED 

Client Error

HTTPStd_UNPROCESSABLE_ENTITY 

Client Error

HTTPStd_TOO_MANY_REQUESTS 

Client Error

HTTPStd_INTERNAL_SERVER_ERROR 

Server Error

HTTPStd_NOT_IMPLEMENTED 

Server Error

HTTPStd_BAD_GATEWAY 

Server Error

HTTPStd_SERVICE_UNAVAILABLE 

Server Error

HTTPStd_GATEWAY_TIMEOUT 

Server Error

HTTPStd_HTTP_VERSION_NOT_SUPPORTED 

Server Error

HTTPStd_STATUS_CODE_END 

Variable Documentation

const char* HTTPStd_GET = "GET"
const char* HTTPStd_POST = "POST"
const char* HTTPStd_HEAD = "HEAD"
const char* HTTPStd_OPTIONS = "OPTIONS"
const char* HTTPStd_PUT = "PUT"
const char* HTTPStd_DELETE = "DELETE"
const char* HTTPStd_CONNECT = "CONNECT"
const char* HTTPStd_CONTENT_TYPE_APPLET = "application/octet-stream "
const char* HTTPStd_CONTENT_TYPE_AU = "audio/au "
const char* HTTPStd_CONTENT_TYPE_CSS = "text/css "
const char* HTTPStd_CONTENT_TYPE_DOC = "application/msword "
const char* HTTPStd_CONTENT_TYPE_GIF = "image/gif "
const char* HTTPStd_CONTENT_TYPE_HTML = "text/html "
const char* HTTPStd_CONTENT_TYPE_JPG = "image/jpeg "
const char* HTTPStd_CONTENT_TYPE_MPEG = "video/mpeg "
const char* HTTPStd_CONTENT_TYPE_PDF = "application/pdf "
const char* HTTPStd_CONTENT_TYPE_WAV = "audio/wav "
const char* HTTPStd_CONTENT_TYPE_ZIP = "application/zip "
const char* HTTPStd_CONTENT_TYPE_PLAIN = "text/plain "
const char* HTTPStd_FIELD_NAME_ACCEPT = "Accept"
const char* HTTPStd_FIELD_NAME_ACCEPT_CHARSET = "Accept-Charset"
const char* HTTPStd_FIELD_NAME_ACCEPT_ENCODING = "Accept-Encoding"
const char* HTTPStd_FIELD_NAME_ACCEPT_LANGUAGE = "Accept-Language"
const char* HTTPStd_FIELD_NAME_ACCEPT_RANGES = "Accept-Ranges"
const char* HTTPStd_FIELD_NAME_AGE = "Age"
const char* HTTPStd_FIELD_NAME_ALLOW = "Allow"
const char* HTTPStd_FIELD_NAME_AUTHORIZATION = "Authorization"
const char* HTTPStd_FIELD_NAME_CACHE_CONTROL = "Cache-Control"
const char* HTTPStd_FIELD_NAME_CONNECTION = "Connection"
const char* HTTPStd_FIELD_NAME_CONTENT_ENCODING = "Content-Encoding"
const char* HTTPStd_FIELD_NAME_CONTENT_LANGUAGE = "Content-Language"
const char* HTTPStd_FIELD_NAME_CONTENT_LENGTH = "Content-Length"
const char* HTTPStd_FIELD_NAME_CONTENT_LOCATION = "Content-Location"
const char* HTTPStd_FIELD_NAME_CONTENT_MD5 = "Content-MD5"
const char* HTTPStd_FIELD_NAME_CONTENT_RANGE = "Content-Range"
const char* HTTPStd_FIELD_NAME_CONTENT_TYPE = "Content-Type"
const char* HTTPStd_FIELD_NAME_COOKIE = "Cookie"
const char* HTTPStd_FIELD_NAME_DATE = "Date"
const char* HTTPStd_FIELD_NAME_ETAG = "ETag"
const char* HTTPStd_FIELD_NAME_EXPECT = "Expect"
const char* HTTPStd_FIELD_NAME_EXPIRES = "Expires"
const char* HTTPStd_FIELD_NAME_FROM = "From"
const char* HTTPStd_FIELD_NAME_HOST = "Host"
const char* HTTPStd_FIELD_NAME_IF_MATCH = "If-Match"
const char* HTTPStd_FIELD_NAME_IF_MODIFIED_SINCE = "If-Modified-Since"
const char* HTTPStd_FIELD_NAME_IF_NONE_MATCH = "If-None-Match"
const char* HTTPStd_FIELD_NAME_IF_RANGE = "If-Range"
const char* HTTPStd_FIELD_NAME_IF_UNMODIFIED_SINCE = "If-Unmodified-Since"
const char* HTTPStd_FIELD_NAME_LAST_MODIFIED = "Last-Modified"
const char* HTTPStd_FIELD_NAME_LOCATION = "Location"
const char* HTTPStd_FIELD_NAME_MAX_FORWARDS = "Max-Forwards"
const char* HTTPStd_FIELD_NAME_ORIGIN = "Origin"
const char* HTTPStd_FIELD_NAME_PRAGMA = "Pragma"
const char* HTTPStd_FIELD_NAME_PROXY_AUTHENTICATE = "Proxy-Authenticate"
const char* HTTPStd_FIELD_NAME_PROXY_AUTHORIZATION = "Proxy-Authorization"
const char* HTTPStd_FIELD_NAME_RANGE = "Range"
const char* HTTPStd_FIELD_NAME_REFERER = "Referer"
const char* HTTPStd_FIELD_NAME_RETRY_AFTER = "Retry-After"
const char* HTTPStd_FIELD_NAME_SERVER = "Server"
const char* HTTPStd_FIELD_NAME_TE = "TE"
const char* HTTPStd_FIELD_NAME_TRAILER = "Trailer"
const char* HTTPStd_FIELD_NAME_TRANSFER_ENCODING = "Transfer-Encoding"
const char* HTTPStd_FIELD_NAME_UPGRADE = "Upgrade"
const char* HTTPStd_FIELD_NAME_USER_AGENT = "User-Agent"
const char* HTTPStd_FIELD_NAME_VARY = "Vary"
const char* HTTPStd_FIELD_NAME_VIA = "Via"
const char* HTTPStd_FIELD_NAME_WWW_AUTHENTICATE = "WWW-Authenticate"
const char* HTTPStd_FIELD_NAME_WARNING = "Warning"
const char* HTTPStd_FIELD_NAME_X_FORWARDED_FOR = "X-Forwarded-For"
Copyright 2015, Texas Instruments Incorporated