jetty.project/jetty-client
Simone Bordet 1a1b9cfe4c
Fixes #8770 - Review whether to send request body in redirects. (#8775)
* Fixes #8770 - Review whether to send request body in redirects.

Now the original request body is re-sent only if the redirect status code is 307 or 308.
In the other cases, it is a redirect to a GET method, so the Location is followed without resending the body, and the content headers are removed.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-08 21:54:20 +01:00
..
src Fixes #8770 - Review whether to send request body in redirects. (#8775) 2022-11-08 21:54:20 +01:00
pom.xml merge back release branch to bump version to 10.0.13-SNAPSHOT (#8593) 2022-09-16 19:50:12 +10:00