Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Downgrade okhttp 3.14.0 -> 3.13.1 to avoid UnrepeatableRequestBody NoSuchMethodErrors #1039

Merged
merged 6 commits into from
Apr 3, 2019

Conversation

dansanduleac
Copy link
Contributor

@dansanduleac dansanduleac commented Apr 3, 2019

Before this PR

#1026 (which went into 4.20.1) inadvertently brought in a bump in okhttp to 3.14.0.
One of our internal libraries relied on UnrepeatableRequestBody which got removed in github.com/square/okhttp/pull/4676, and a solution using RequestBody#isOneShot couldn't be made that exhibits the previous behaviour.

After this PR

Downgrading okhttp to 3.13.1, and adding a constraint to prevent accidental upgrades to 3.14.0 for the time being.

@dansanduleac dansanduleac requested a review from a team as a code owner April 3, 2019 13:51
@iamdanfox iamdanfox changed the title Downgrade okhttp [fix] Downgrade okhttp 3.14.0 -> 3.13.1 to avoid UnrepeatableRequestBody NoSuchMethodErrors Apr 3, 2019
@iamdanfox
Copy link
Contributor

👍

@bulldozer-bot bulldozer-bot bot merged commit 976e917 into develop Apr 3, 2019
@bulldozer-bot bulldozer-bot bot deleted the ds/fix-okhttp branch April 3, 2019 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants