Skip to content

Tweak body size determination for binary bodies in boss_web_test#660

Open
drobakowski wants to merge 1 commit intoChicagoBoss:masterfrom
synlay:feature/boss_web_test_body_length_fix
Open

Tweak body size determination for binary bodies in boss_web_test#660
drobakowski wants to merge 1 commit intoChicagoBoss:masterfrom
synlay:feature/boss_web_test_body_length_fix

Conversation

@drobakowski
Copy link
Contributor

For binary bodies like JSON data read from a file, erlang:length/1 is not working and the size must be determined rather through erlang:byte_size/1.

For binary bodies like JSON data read from a file, `erlang:length/1`
is not working and the size must be determined rather through
`erlang:byte_size/1`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant