mirror of
https://github.com/jlengrand/vert.x.git
synced 2026-03-10 08:51:19 +00:00
Fix http documentation that mentions redirection might cache body for 307
This commit is contained in:
@@ -1096,9 +1096,7 @@ Here's an example:
|
||||
The redirection policy is as follow
|
||||
|
||||
* on a `301`, `302` or `303` status code, follow the redirection with a `GET` method
|
||||
* on a `307` status code, follow the redirection with the same HTTP method and the cached body
|
||||
|
||||
WARNING: following redirections caches the request body
|
||||
* on a `307` status code, follow the redirection with the same HTTP method
|
||||
|
||||
The maximum redirects is `16` by default and can be changed with {@link io.vertx.core.http.HttpClientOptions#setMaxRedirects(int)}.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user