Closed MarkBramnik closed 6 years ago
Please learn how to format code on GitHub.
Also please provide a project that reproduces the issue
I believe you might need the fix mentioned in https://github.com/spring-cloud/spring-cloud-netflix/issues/1751
Thanks, @jebeaudet,
I'm sorry just had no time to provide a working project that demonstrates this issue (we've just used form-data instead and it worked). In my understanding When the query just like I've put in a bug description is submitted to Zuul enabled microservice with content-type multipart/mixed (it's different than form-data), the spring cloud doesn't know how to handle it, if I remember correctly, it has a special filter (FormBodyWrapperFilter) that doesn't know how to handle the content type of such a request, although its a valid http request and we have a REST controller in our business-side microservice (I mean, not the gateway with a Zuul, but different spring boot application) that handles it.
When I've faced this issue, I've just put a redirection rule to locally installed Burp - that just showed me that the request produced by Zuul is empty and doesn't have data mentioned in a form in the original request in an example (Hello World How are you? etc.)
So probably it's a different issue.
i have the same problem, my spring cloud version is Edgware.RELEASE
@hellojukay can you provide a sample that reproduces the issue?
we have the same isssue.
@hellojukay did you manage to make it work with multipart/mixed
?
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.
Bug Report:
Summary: When sending to Zuul request of type multipart/mixed it doesn't process the request body so that when it forwards a request it comes out with an empty body.
Applicable to (in my checks):
My Spring boot application runs with @EnabledZuulProxy Sample request to illustrate the issue: