HTTP: HyperText Transfer Protocol
https://en.m.wikipedia.org/wiki/Hypertext_Transfer_Protocol
Configuration Variables
- HTTP_SERVER_EXPOSE_NAME
Default: 1 (enabled)
Adds “HttpServer/Sming” to the SERVER field in response headers. If disabled, the SERVER field is omitted from all responses.
- HTTP_SERVER_EXPOSE_VERSION
Default: 0 (disabled)
Adds the current Sming build version to the SERVER field in response headers. For example, “Sming/4.0.0-rc2”.
Requires HTTP_SERVER_EXPOSE_NAME to be enabled.
- HTTP_SERVER_EXPOSE_DATE
Default: 0 (disabled)
Sets the DATE field in response headers.
API Documentation
- Client API
- Server API
- Support API
ContentTypeENABLE_HTTP_REQUEST_AUTHHTTP_MAX_HEADER_SIZEHTTP_REQUEST_POOL_SIZEXXHTTP_PARSER_ERRNOhttp_parser_typehttp_parserhttp_parser_settingshttp_methodHttpFilesHttpErrorHttpMethodHttpStatusHttpConnectionStatehttp_method_str()toString()httpGetErrorDescription()toString()httpGetStatusText()toString()HttpHeadersHttpRequestHttpResponse