GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
httpd_custom_api(3) Erlang Module Definition httpd_custom_api(3)

httpd_custom_api - Behaviour with optional callbacks to customize the inets HTTP server.

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

response_default_headers() -> [Header]
 
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.
response_header({HeaderName, HeaderValue}) -> {true, Header} | false
 
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.
request_header({HeaderName, HeaderValue}) -> {true, Header} | false
 
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.
inets 6.3.6 Ericsson AB

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.