table of contents
- bookworm 1:25.2.3+dfsg-1
- testing 1:25.3.2.8+dfsg-1
- unstable 1:25.3.2.11+dfsg-1
- experimental 1:26.2.4+dfsg-1
httpd_custom_api(3erl) | Erlang Module Definition | httpd_custom_api(3erl) |
NAME¶
httpd_custom_api - Behaviour with optional callbacks to customize the inets HTTP server.
DESCRIPTION¶
The module implementing this behaviour shall be supplied to to the servers configuration with the option customize
EXPORTS¶
response_default_headers() -> [Header]
Types:
Provide default headers for the HTTP servers responses. Note that this option may override built-in defaults.
response_header({HeaderName, HeaderValue}) -> {true, Header}
| false
Types:
Filter and possible alter HTTP response headers before they are sent to the client.
request_header({HeaderName, HeaderValue}) -> {true, Header}
| false
Types:
Filter and possible alter HTTP request headers before they are processed by the server.
inets 9.1 | Ericsson AB |