Open lukaszpy opened 6 days ago
@lukaszpy do you have spring security configured? I had the smae behavior when using spring security, did not dig deeper to understand the cause. For now by removing spring security the body is processed correctly, specially when using spring-cloud-gateway-server-mvc
@dgradecak yes I have spring sec, as validate tokens, and checking roles for path
Describe the bug After routing
multipart/form-data
through gateway mvc, downstream service receive request but without multipart file.I looked into code of gateway and in
RestClientProxyExchange
we havethere is not copy multipart data from original request.
Example route: