1httpd_custom_api(3) Erlang Module Definition httpd_custom_api(3)
2
3
4
6 httpd_custom_api - Behaviour with optional callbacks to customize the
7 inets HTTP server.
8
10 The module implementing this behaviour shall be supplied to to the
11 servers configuration with the option customize
12
14 response_default_headers() -> [Header]
15
16 Types:
17
18 Header = {HeaderName :: string(), HeaderValue::string()}
19 string:to_lower/1 will be performed on the HeaderName
20
21 Provide default headers for the HTTP servers responses. Note
22 that this option may override built-in defaults.
23
24 response_header({HeaderName, HeaderValue}) -> {true, Header} | false
25
26 Types:
27
28 Header = {HeaderName :: string(), HeaderValue::string()}
29 The header name will be in lower case and should not be
30 altered.
31
32 Filter and possible alter HTTP response headers before they are
33 sent to the client.
34
35 request_header({HeaderName, HeaderValue}) -> {true, Header} | false
36
37 Types:
38
39 Header = {HeaderName :: string(), HeaderValue::string()}
40 The header name will be in lower case and should not be
41 altered.
42
43 Filter and possible alter HTTP request headers before they are
44 processed by the server.
45
46
47
48Ericsson AB inets 7.1.1 httpd_custom_api(3)