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

New API: RequestBody.isOneShot() #4676

Merged
merged 1 commit into from Mar 3, 2019
Merged

New API: RequestBody.isOneShot() #4676

merged 1 commit into from Mar 3, 2019

Conversation

swankjesse
Copy link
Member

Closes: #4134

okhttp/src/main/java/okhttp3/RequestBody.java Outdated Show resolved Hide resolved
@swankjesse swankjesse merged commit 6468239 into master Mar 3, 2019
@oldergod oldergod deleted the jwilson.0302.oneshot branch March 3, 2019 13:30
bulldozer-bot bot pushed a commit to palantir/conjure-java-runtime that referenced this pull request Apr 3, 2019
…ody NoSuchMethodErrors (#1039)

## 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.
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.

None yet

2 participants