Skip to content

HTTPCLIENT-2426: Do not wrap a discarded (null) response body in a content decoder#842

Merged
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:HTTPCLIENT-2426
Jul 3, 2026
Merged

HTTPCLIENT-2426: Do not wrap a discarded (null) response body in a content decoder#842
arturobernalg merged 1 commit into
apache:masterfrom
arturobernalg:HTTPCLIENT-2426

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

No description provided.

class TestContentCompressionAsyncExecDiscard {

@Test
void propagatesNullDiscardOnEncodedResponse() throws Exception {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@arturobernalg Can we add this test to TestContentCompressionAsyncExec. Why a separate test class?

Looks good otherwise

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@ok2c done

@arturobernalg arturobernalg merged commit 06aac6d into apache:master Jul 3, 2026
10 checks passed
@ok2c

ok2c commented Jul 3, 2026

Copy link
Copy Markdown
Member

@arturobernalg I think this change-set should be cherry-picked to 5.6.x

@arturobernalg

Copy link
Copy Markdown
Member Author

@arturobernalg I think this change-set should be cherry-picked to 5.6.x

done

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.

2 participants