Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

upgrade to okhttp3 #224

Closed
wants to merge 2 commits into from
Closed

upgrade to okhttp3 #224

wants to merge 2 commits into from

Conversation

honnix
Copy link
Member

@honnix honnix commented Oct 24, 2017

also upgrade okio

okhttp 2.x is obsolete, and according to https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-300-rc1
there should be no risk to upgrade.

backport of #220

also upgrade okio

okhttp 2.x is obsolete, and according to https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-300-rc1
there should be no risk to upgrade.
@honnix
Copy link
Member Author

honnix commented Oct 24, 2017

This is probably a breaking change though. okhttp3 default uses lower case for header key?

@martina-if

@honnix honnix mentioned this pull request Oct 26, 2017
@danielnorberg
Copy link
Contributor

@honnix header keys should be treated in a case-insensitive manner though. Are we not doing that?

@honnix
Copy link
Member Author

honnix commented Oct 27, 2017

Not sure of that and hard to presume.

@pettermahlen
Copy link
Member

#199

@honnix
Copy link
Member Author

honnix commented Oct 27, 2017

@pettermahlen that feels safe already in Apollo world. But it seems okhttp3 lowers down the case already when building headers, which means things going out of Apollo (and potentially to other system) are different now. If everyone behaves according to RFC, that should be ok though.

@honnix
Copy link
Member Author

honnix commented Oct 27, 2017

#209 :)

@honnix
Copy link
Member Author

honnix commented Jan 9, 2018

this however doesn't pass japicmp

@lepistone lepistone closed this Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants