conjure-java-runtime
conjure-java-runtime copied to clipboard
JaxRsClients should not interperet a 302 response status as Optional.empty()
This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.
bad robot
Re-opening as it sounds like this is still a legitimate unsolved problem. Would you expect a client to be redirected?
When my service returned a 302 status with empty content, the client returned Optional.empty rather than throwing an exception. I would expect the client to fail, not to follow redirects.
I'm unsure if this is still a problem, or if it had to do with feign/okhttp versions in a particular large internal project.
This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.