aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-12-11 17:19:47 +0100
committerIngela Anderton Andin <[email protected]>2015-12-15 09:15:45 +0100
commit69f4b8be1899eb115ced063ef7d606880df72d3d (patch)
tree703f31df6793573d1e385f710420831d7ef25e15 /lib
parent745159c619dbcb53a54acab3d3482311439a57fc (diff)
downloadotp-69f4b8be1899eb115ced063ef7d606880df72d3d.tar.gz
otp-69f4b8be1899eb115ced063ef7d606880df72d3d.tar.bz2
otp-69f4b8be1899eb115ced063ef7d606880df72d3d.zip
inets: Fix dialyzer warning
Diffstat (limited to 'lib')
-rw-r--r--lib/inets/src/http_server/httpd_custom_api.erl3
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.