Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
http_uri:parse(URI) now returns {ok,{Scheme,...}} in R15B
  • Loading branch information
naoya_t committed Dec 18, 2011
1 parent 7969309 commit 89ebe2cf9afc08ba5f32deb7d8a333f0a28a50e6
Showing 1 changed file with 2 additions and 0 deletions.
@@ -228,6 +228,8 @@ header_param_decode(Param) ->

uri_normalize(URI) ->
case http_uri:parse(URI) of
{ok, {Scheme, UserInfo, Host, Port, Path, _Query}} -> % R15B
uri_normalize(Scheme, UserInfo, string:to_lower(Host), Port, [Path]);
{Scheme, UserInfo, Host, Port, Path, _Query} ->
uri_normalize(Scheme, UserInfo, string:to_lower(Host), Port, [Path]);
Else ->

0 comments on commit 89ebe2c

Please sign in to comment.