Skip to content

chore: Use ByteArrayContent instead of StringContent#73

Merged
HofmeisterAn merged 4 commits intotestcontainers:mainfrom
campersau:bytearraycontent
Mar 1, 2026
Merged

chore: Use ByteArrayContent instead of StringContent#73
HofmeisterAn merged 4 commits intotestcontainers:mainfrom
campersau:bytearraycontent

Conversation

@campersau
Copy link

To reduce byte -> string -> byte conversions to just byte

Also adjust test to assert correct Content-Type header.

campersau and others added 2 commits March 1, 2026 15:32
To reduce byte -> string -> byte conversions to just byte
@HofmeisterAn HofmeisterAn changed the title Use ByteArrayContent instead of StringContent chore: Use ByteArrayContent instead of StringContent Mar 1, 2026
@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Mar 1, 2026
Copy link
Collaborator

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again.

@HofmeisterAn HofmeisterAn merged commit bc9d295 into testcontainers:main Mar 1, 2026
15 checks passed
@campersau campersau deleted the bytearraycontent branch March 1, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants