Permalink
Browse files

Merge pull request #180 from yakaz/fix-contenttype-matching-in-yaws_api

yaws_api: Fix matching of Content-Type in `parse_post/1`
  • Loading branch information...
2 parents b8fd96c + 2fa5ead commit bbbf5f2958e2fc84ff9beaa847725d561e1d481f @vinoski vinoski committed Jul 23, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/yaws_api.erl
View
@@ -175,7 +175,7 @@ parse_post(Arg) ->
undefined ->
H = Arg#arg.headers,
Res = case H#headers.content_type of
- "application/x-www-form-urlencoded" ->
+ "application/x-www-form-urlencoded"++_ ->
case Arg#arg.clidata of
[] -> [];
D -> parse_post_data_urlencoded(D)

0 comments on commit bbbf5f2

Please sign in to comment.