Environment:
async-http-client 1.9.31
netty 3.10.4.Final
AsyncHttpClientConfig.Builder().setFollowRedirect(true)
Preconditions
"url-original" accepts POST and redirect to "url-redirected" with HTTP 301 status
Steps:
Send request with asyncHttpClient.preparePost("url-original").setBody("not empty body").execute().get()
Expected
Request redirected to "url-redirected" with original body
Actual
Request redirected to "url-redirected" with empty body
Notes
1.8.14 version works as expected for this case
Environment:
async-http-client 1.9.31
netty 3.10.4.Final
AsyncHttpClientConfig.Builder().setFollowRedirect(true)
Preconditions
"url-original" accepts POST and redirect to "url-redirected" with HTTP 301 status
Steps:
Send request with asyncHttpClient.preparePost("url-original").setBody("not empty body").execute().get()
Expected
Request redirected to "url-redirected" with original body
Actual
Request redirected to "url-redirected" with empty body
Notes
1.8.14 version works as expected for this case