Stop using okhttp3.internal
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start with com.microsoft.kiota.http.middleware.RedirectHandler.java and locate its okhttp3.internal references. Check the OkHttp 5 compatibility concern and the referenced OkHttp issue before selecting supported APIs. Done means the middleware no longer uses okhttp3.internal while preserving redirect handling and binary compatibility with newer OkHttp versions.
Written by the indexing model from the issue text.
Description
com.microsoft.kiota.http.middleware.RedirectHandler.java is referencing OkHttp internals from okhttp3.internal. This code is internal, was never part of public API and was removed in OkHttp 5. Please remove references to it to ensure binary compatibility with the newer OkHttp versions. In general, using anything from okhttp3.internal is not advised as OkHttp is planning to restrict access to it, see https://github.com/square/okhttp/issues/9435.
- Dominant language
- Java
- Stars
- 38
- Forks
- 34
- Avg merge
- 14h 29m
- Merged PRs (30d)
- 22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/kiota-java
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
microsoft/kiota-java#2000 ·
-
upgrade to okhttp 5 Openenhancement help wanted
Difficulty 3/5 1-2 days Newbie friendliness 48/100
microsoft/kiota-java#1984 · 10 comments · 2 reactions ·
-
Needs: Attention :wave: type:question
Difficulty 3/5 1-2 days Newbie friendliness 35/100
microsoft/kiota-java#1928 · 6 comments ·
-
enhancement help wanted type:enhancement
Difficulty 4/5 3-5 days Newbie friendliness 52/100
microsoft/kiota-java#1685 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
microsoft/kiota-java#1612 ·
All issues in microsoft/kiota-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100