Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Merge pull request #9 from naoyat/master
http_uri:parse(URI) now returns {ok,{Scheme,...}} in R15B
  • Loading branch information
tim committed Dec 18, 2011
2 parents 7969309 + 89ebe2c commit 3968d19a95faf2b7acc572c316c5d9d9447ac06b
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 3968d19

Please sign in to comment.