Skip to content

Commit 4683f85

Browse files
author
Claes Wikstrom
committed
patch from anders abramhamson - a bug with multiprat posts and a head being reversed
1 parent 5355a13 commit 4683f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yaws_api.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ do_header(Head) ->
351351
{value, {_,"form-data"++Line}} ->
352352
Parameters = parse_arg_line(Line),
353353
{value, {_,Name}} = lists:keysearch(name, 1, Parameters),
354-
{lists:reverse(Name), Parameters};
354+
{Name, Parameters};
355355
_ ->
356356
{Header}
357357
end.

0 commit comments

Comments
 (0)