mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Add an additional test to the static test suite
This commit is contained in:
parent
84aea5d24d
commit
ae96aa6e49
2 changed files with 7 additions and 1 deletions
|
@ -340,7 +340,7 @@ charsets_provided(Req, State={Path, _, Extra}) ->
|
|||
no_call;
|
||||
{charset, Module, Function} ->
|
||||
{[Module:Function(Path)], Req, State};
|
||||
{charset, Charset} ->
|
||||
{charset, Charset} when is_binary(Charset) ->
|
||||
{[Charset], Req, State}
|
||||
end.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue