Skip to content

Commit 11b9c1b

Browse files
committed
Merge pull request #1368 from bettio/fix-ahttp_client-otp
Fix ahttp_client on OTP OTP doesn't like `[{binary, true} | ...]`, replace it with `[binary | ...]`. These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 7e06d45 + 821bbd8 commit 11b9c1b

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)