erlang / 26 / lib / inets-9.0.1 / doc / html / httpd_custom_api.html
httpd_custom_api
Behaviour with optional callbacks to customize the inets HTTP server.
Module httpd_custom_api was introduced in OTP 17.5.6.

The module implementing this behaviour shall be supplied to to the servers configuration with the option customize

Types

Header = {HeaderName :: string(), HeaderValue::string()}
string:to_lower/1 will be performed on the HeaderName

Provide default headers for the HTTP servers responses. Note that this option may override built-in defaults.

Types

Header = {HeaderName :: string(), HeaderValue::string()}
The header name will be in lower case and should not be altered.

Filter and possible alter HTTP response headers before they are sent to the client.

Types

Header = {HeaderName :: string(), HeaderValue::string()}
The header name will be in lower case and should not be altered.

Filter and possible alter HTTP request headers before they are processed by the server.

© 2010–2023 Ericsson AB
Licensed under the Apache License, Version 2.0.