mirror of
https://github.com/correl/urilib.git
synced 2024-11-21 19:18:42 +00:00
Whitespace cleanup [ci skip]
This commit is contained in:
parent
63a72b114e
commit
074dffa0dd
1 changed files with 4 additions and 2 deletions
|
@ -79,7 +79,8 @@ parse(Value) ->
|
|||
case http_uri:parse(Value, [{scheme_defaults, http_uri:scheme_defaults()}, {fragment, true}]) of
|
||||
{ok, {Scheme, UserInfo, Host, Port, Path, Query, Fragment}} ->
|
||||
{Scheme, {parse_userinfo(UserInfo), Host, Port}, Path, parse_query(Query), parse_fragment(Fragment)};
|
||||
{error, Reason} -> {error, Reason}
|
||||
{error, Reason} ->
|
||||
{error, Reason}
|
||||
end.
|
||||
|
||||
|
||||
|
@ -94,7 +95,8 @@ parse(Value, url) ->
|
|||
{ok, {Scheme, UserInfo, Host, Port, Path, Query, Fragment}} ->
|
||||
{Username, Password} = parse_userinfo(UserInfo),
|
||||
{Scheme, Username, Password, Host, Port, Path, parse_query(Query), parse_fragment(Fragment)};
|
||||
{error, Reason} -> {error, Reason}
|
||||
{error, Reason} ->
|
||||
{error, Reason}
|
||||
end.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue