Skip to content

Commit 821bbd8

Browse files
committed
Fix ahttp_client on OTP
OTP doesn't like `[{binary, true} | ...]`, replace it with `[binary | ...]`. Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 6acfcb5 commit 821bbd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/eavmlib/src/ahttp_client.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ transform_options(Options) ->
124124
undefined -> [{active, true} | Options];
125125
_OtherValue -> Options
126126
end,
127-
[{binary, true} | WithActive].
127+
[binary | WithActive].
128128

129129
take_parse_headers(Options) ->
130130
case proplists:get_value(parse_headers, Options) of

0 commit comments

Comments
 (0)