[GitHub] [cxf] andymc12 opened a new pull request #676: [CXF-8294][CXF-8295] Proxy and followRedirect APIs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [cxf] andymc12 opened a new pull request #676: [CXF-8294][CXF-8295] Proxy and followRedirect APIs

GitBox

andymc12 opened a new pull request #676:
URL: https://github.com/apache/cxf/pull/676


   This PR covers two JIRAs [CXF-8294](https://issues.apache.org/jira/browse/CXF-8294) and [CXF-8295](https://issues.apache.org/jira/browse/CXF-8295) - proxy server support and auto follow redirect support.  Both of these features already exist in the CXF client, but now are made part of the MicroProfile Rest Client API.  This PR maps the MP API to the existing CXF properties.
   
   On a related note, I have added a separate commit that will auto-redirect on 308 responses too.   Per [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308), 308s are a permanent redirect - and the Jakarta JAX-RS community is planning to include official support for it in a future spec release (3.1, I think...).  This is not strictly required in order to implement the MP spec, but I thought it would make a nice addition.  If anybody feels strongly that we should not redirect on 308s, I'm fine with removing that commit.
   
   Thanks, Andy


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]


Reply | Threaded
Open this post in threaded view
|

[GitHub] [cxf] andymc12 merged pull request #676: [CXF-8294][CXF-8295] Proxy and followRedirect APIs for MicroProfile Rest Client 2.0

GitBox

andymc12 merged pull request #676:
URL: https://github.com/apache/cxf/pull/676


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[hidden email]