aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_lib/http_util.erl
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2017-05-04 20:43:42 -0700
committerTristan Sloughter <[email protected]>2017-05-05 08:48:30 -0700
commita42858f00ba09759d5f723895e52cd89c77165ac (patch)
tree869ea1e683d7ebd15e4d75ec055b86109192e321 /lib/inets/src/http_lib/http_util.erl
parent4261ee2caae48ad7e215144c5abbfd34fffb35e5 (diff)
downloadotp-a42858f00ba09759d5f723895e52cd89c77165ac.tar.gz
otp-a42858f00ba09759d5f723895e52cd89c77165ac.tar.bz2
otp-a42858f00ba09759d5f723895e52cd89c77165ac.zip
add binary string support to http_uri functions
Diffstat (limited to 'lib/inets/src/http_lib/http_util.erl')
-rw-r--r--lib/inets/src/http_lib/http_util.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/inets/src/http_lib/http_util.erl b/lib/inets/src/http_lib/http_util.erl
index 20c342dd66..78b0aa2885 100644
--- a/lib/inets/src/http_lib/http_util.erl
+++ b/lib/inets/src/http_lib/http_util.erl
@@ -35,10 +35,10 @@
%%% Internal application API
%%%=========================================================================
to_upper(Str) ->
- string:to_upper(Str).
+ string:uppercase(Str).
to_lower(Str) ->
- string:to_lower(Str).
+ string:lowercase(Str).
%% Example: Mon, 09-Dec-2002 13:46:00 GMT
convert_netscapecookie_date([_D,_A,_Y, $,, $ ,