Skip to content

HTTPCLIENT-2263: Cannot Access Trailer-Headers in Chunked transfer-encoding#425

Merged
ok2c merged 2 commits intoapache:4.5.xfrom
Cole-Greer:HTTPCLIENT-2263
Mar 16, 2023
Merged

HTTPCLIENT-2263: Cannot Access Trailer-Headers in Chunked transfer-encoding#425
ok2c merged 2 commits intoapache:4.5.xfrom
Cole-Greer:HTTPCLIENT-2263

Conversation

@Cole-Greer
Copy link
Copy Markdown

This PR is backporting a change which was made to ResponseEntityProxy in v5.0. I understand that the 4.5.x branch is closed to any visible API changes. If these changes fall outside of the scope of what is permissible for this branch please let me know and reject the PR.

serkanturgut and others added 2 commits March 15, 2023 14:38
…unked transfer-encoding

Implementing getTrailers() in ResponseEntityProxy which will return a
Supplier which propagates the output of ChunkedInputStream.getFooters(),
otherwise it returns a empty list.
…coding

Resolves this issue by cherry-picking fix from HTTPCLIENT-1992 with minor
changes for compability with 4.5.x.

Implementing getTrailers() in ResponseEntityProxy which which propagates
the output of ChunkedInputStream.getFooters(),
otherwise it returns a empty list.
@ok2c ok2c merged commit 7aca075 into apache:4.5.x Mar 16, 2023
@Cole-Greer Cole-Greer deleted the HTTPCLIENT-2263 branch March 16, 2023 15:56
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.

4 participants