Skip to content

Commit

Permalink
Merge pull request #1368 from bettio/fix-ahttp_client-otp
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bettio committed Nov 20, 2024
2 parents 7e06d45 + 821bbd8 commit 11b9c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/eavmlib/src/ahttp_client.erl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ transform_options(Options) ->
undefined -> [{active, true} | Options];
_OtherValue -> Options
end,
[{binary, true} | WithActive].
[binary | WithActive].

take_parse_headers(Options) ->
case proplists:get_value(parse_headers, Options) of
Expand Down

0 comments on commit 11b9c1b

Please sign in to comment.