mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Remove a dead code clause for split_path.
This commit is contained in:
parent
b874b28561
commit
896b854908
1 changed files with 0 additions and 2 deletions
|
@ -25,8 +25,6 @@ split_host(Host) ->
|
|||
string:tokens(Host, ".").
|
||||
|
||||
-spec split_path(Path::string()) -> {Tokens::path_tokens(), Qs::string()}.
|
||||
split_path('*') ->
|
||||
{'*', []};
|
||||
split_path(Path) ->
|
||||
case string:chr(Path, $?) of
|
||||
0 ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue