diff options
author | Ingela Anderton Andin <[email protected]> | 2015-05-27 09:01:07 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-05-29 14:58:22 +0200 |
commit | d9671919ed9d0cbdc71f4e83d4cc11d200482226 (patch) | |
tree | c7225d83b4eb9ac449762fe19ae092eee40f904f /lib/inets/src/inets_app | |
parent | f3fefbae24a2569a13b538d80d0e99129963ebef (diff) | |
download | otp-d9671919ed9d0cbdc71f4e83d4cc11d200482226.tar.gz otp-d9671919ed9d0cbdc71f4e83d4cc11d200482226.tar.bz2 otp-d9671919ed9d0cbdc71f4e83d4cc11d200482226.zip |
inets: Add customize option
Many HTTP headers are optional, and it could be desirable for the
server to filter and maybe even alter them without replacing the
mod_* modules that generate/process them. Add new behaviour
httpd_custom_api with default implementation in httpd_custom.erl.
Add behaviour module in 18 as then we can specify optional callbacks.
Diffstat (limited to 'lib/inets/src/inets_app')
-rw-r--r-- | lib/inets/src/inets_app/inets.app.src | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/inets/src/inets_app/inets.app.src b/lib/inets/src/inets_app/inets.app.src index 9eae962d03..48660bec62 100644 --- a/lib/inets/src/inets_app/inets.app.src +++ b/lib/inets/src/inets_app/inets.app.src @@ -1,7 +1,7 @@ %% This is an -*- erlang -*- file. %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1997-2014. All Rights Reserved. +%% Copyright Ericsson AB 1997-2015. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -61,6 +61,7 @@ httpd_cgi, httpd_connection_sup, httpd_conf, + httpd_custom, httpd_esi, httpd_example, httpd_file, |