diff options
author | Ingela Anderton Andin <[email protected]> | 2015-12-11 17:19:47 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-12-15 09:15:45 +0100 |
commit | 69f4b8be1899eb115ced063ef7d606880df72d3d (patch) | |
tree | 703f31df6793573d1e385f710420831d7ef25e15 /lib/inets/src/http_server | |
parent | 745159c619dbcb53a54acab3d3482311439a57fc (diff) | |
download | otp-69f4b8be1899eb115ced063ef7d606880df72d3d.tar.gz otp-69f4b8be1899eb115ced063ef7d606880df72d3d.tar.bz2 otp-69f4b8be1899eb115ced063ef7d606880df72d3d.zip |
inets: Fix dialyzer warning
Diffstat (limited to 'lib/inets/src/http_server')
-rw-r--r-- | lib/inets/src/http_server/httpd_custom_api.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/inets/src/http_server/httpd_custom_api.erl b/lib/inets/src/http_server/httpd_custom_api.erl index 282f3a6ee6..d5a6fa8715 100644 --- a/lib/inets/src/http_server/httpd_custom_api.erl +++ b/lib/inets/src/http_server/httpd_custom_api.erl @@ -23,7 +23,8 @@ -callback response_default_headers() -> [{Key::string(), Value::string()}]. -callback response_header({Key::string(), Value::string()}) -> - {true, {Key::string(), Value::string()}} | false. + {true, {Key::string(), Value::string()}} | false | + {true, string()}. %% Used internally to avoid traversing headers twice -callback request_header({Key::string(), Value::string()}) -> {true, {Key::string(), Value::string()}} | false. |