diff options
author | Henrik Nord <[email protected]> | 2015-10-06 11:03:55 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-10-06 11:03:55 +0200 |
commit | b99010e5f188097fd9a83204ac6ce2dcd048e640 (patch) | |
tree | 2b789952bc80fd1585dde569116cc604f9962ab7 /lib/inets/doc/src/httpd_custom_api.xml | |
parent | 7283245d4a3fd6b59f0b0f2748cad5c61733622d (diff) | |
parent | 4f9905824002bebc33c2914669b4c364927cb0ee (diff) | |
download | otp-b99010e5f188097fd9a83204ac6ce2dcd048e640.tar.gz otp-b99010e5f188097fd9a83204ac6ce2dcd048e640.tar.bz2 otp-b99010e5f188097fd9a83204ac6ce2dcd048e640.zip |
Merge branch 'maint'
Conflicts:
OTP_VERSION
Diffstat (limited to 'lib/inets/doc/src/httpd_custom_api.xml')
-rw-r--r-- | lib/inets/doc/src/httpd_custom_api.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/inets/doc/src/httpd_custom_api.xml b/lib/inets/doc/src/httpd_custom_api.xml index 23417900fa..d2e5441895 100644 --- a/lib/inets/doc/src/httpd_custom_api.xml +++ b/lib/inets/doc/src/httpd_custom_api.xml @@ -33,6 +33,20 @@ </description> <funcs> + <func> + <name>response_default_headers() -> [Header] </name> + <fsummary>Provide default headers for the HTTP servers responses.</fsummary> + <type> + <v>Header = {HeaderName :: string(), HeaderValue::string()}</v> + <d>string:to_lower/1 will be performed on the HeaderName</d> + </type> + <desc> + <p>Provide default headers for the HTTP servers responses. Note that this + option may override built-in defaults. + </p> + </desc> + </func> + <func> <name>response_header({HeaderName, HeaderValue}) -> {true, Header} | false </name> <fsummary>Filter and possible alter HTTP response headers.</fsummary> |