Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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:

                 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.

Ericsson AB                                         inets 7.5                             httpd_custom_api(3erl)

Name

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

See Also