Fix http documentation that mentions redirection might cache body for 307

This commit is contained in:
Julien Viet
2019-07-03 09:05:19 +02:00
parent de635a88b9
commit fdac684382

View File

@@ -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)}.