Switching to JdkClientHttpRequestFactory as our default has interesting implications when it comes to following redirects. By default, JdkClientHttpRequestFactory does not where as SimpleClientHttpRequestFactory does. We should consider carefully what our default should be and if we want to offer a quick way to change it.
Comment From: quaff
27360 is related.
Comment From: philwebb
Thanks @quaff. I wish we could configure redirects on a per call basis, but unfortunately that looks pretty tricky.
Comment From: philwebb
Reopening to check methods other than GET
Comment From: philwebb
| JDK | Reactor | Apache | Jetty | Simple | |
|---|---|---|---|---|---|
GET |
✅ | ✅ | ✅ | ✅ | ✅ |
POST |
✅ | ✅ | ✅ | ✅ | ⛔ |
PUT |
✅ | ✅ | ✅ | ✅ | ⛔ |
PATCH |
✅ | ✅ | ✅ | ✅ | ⛔ |
DELETE |
✅ | ✅ | ✅ | ✅ | ⛔ |
Comment From: philwebb
Given that Simple is not likely to be used now, we'll leave things as they are. I'll add some more tests.