Skip to content

Conversation

@zizhong
Copy link
Member

@zizhong zizhong commented Mar 14, 2018

This is a bug introduced with PR #2335. The if is to avoid unnecessary
works when buffering the post body, but since redirects also need to
execute the logic flow and the request info may be changed during the
process of redirects. We need to extract the request info every time redirects
happen.

This is a bug introduced with PR apache#2335. The `if` is to avoid unnecessary
works when buffering the post body, but since redirects also need to
execute the logic flow and the request info may be changed during the
process of redirects. We need to extract the request info every time redirects
happen.
@zizhong
Copy link
Member Author

zizhong commented Mar 14, 2018

@zwoop @SolidWallOfCode @zwoop please review!

Copy link
Contributor

@zwoop zwoop left a comment

Choose a reason for hiding this comment

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

Yeh, this works. This would probably be worthwhile making an autest for (although, obviously not using bintray as the origin).

@zwoop zwoop added the HTTP label Mar 14, 2018
@zwoop zwoop added this to the 8.0.0 milestone Mar 14, 2018
@zwoop zwoop merged commit abb5e58 into apache:master Mar 14, 2018
@zizhong
Copy link
Member Author

zizhong commented Mar 14, 2018

@zwoop yes, I will add a test for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants