Proxied Feign's Client implementation [Tested]#800
Conversation
|
Thank you for your PR. Can you please create an issue explaining what problem you are having and what the expected outcome of this change should be. That will help provide the context we need to review this properly. |
|
I've created this issue #801 |
|
No, that won't be necessary. |
|
What I would really like to see was an unit test =) |
|
Yes, you'are absolutely right. I'll try to add some 👍 |
|
Would also be nice to have this rebased with master |
|
@herrhilmi If you could add some tests, I think this PR is in good shape to be accepted. |
|
Ok, I will try to fix this asap |
|
Thinking about this more, I suggest that, instead of modifying the existing default client, we provide a a Any thoughts? |
There is a Do you think that covers your request? The only thing I'm really missing is some testing. |
|
My concern is that final boolean useProxy = proxy != null;
final URL url = new URL(request.url());
final HttpURLConnection connection = (HttpURLConnection) (useProxy ? url.openConnection(proxy) : url.openConnection());is in
|
|
Replaced by #1045 |
Avoid messing with OkHttp dependecies to add proxied implementation.