You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my current usage of async-http-client, I notice that multi-part request body is not kept after server sends a 307 redirect for HTTP Post. It does keep request body for non-multi part data though.
We are using Async Http Client lib Version: 2.2.0
Multi Part Request data is:
Part 1: jsonpart string
Part 2: byte array of mime data
Multi-part data is set as follows:
Request request = new RequestBuilder(Methods.POST)
.addBodyPart(jsonPart)
.addBodyPart(mimePart)
Looking at this code, I don't see 307Interceptor is setting MultiPart data. I am hoping I am looking at the right place.
In my current usage of async-http-client, I notice that multi-part request body is not kept after server sends a 307 redirect for HTTP Post. It does keep request body for non-multi part data though.
We are using Async Http Client lib Version: 2.2.0
Multi Part Request data is:
Part 1: jsonpart string
Part 2: byte array of mime data
Multi-part data is set as follows:
Looking at this code, I don't see 307Interceptor is setting MultiPart data. I am hoping I am looking at the right place.
async-http-client/client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java
Lines 102 to 114 in 6e4c1a6
The text was updated successfully, but these errors were encountered: