Hi,
We have a POST method to upload a document and some additional metadata (form params named "file" and "metadata"), and I am having minor issue and a blocking one.
First thing -the minnor- is retrieving the parameters. With the snippet below I am able to get the "metadata" but I don't see how to add them to the outbound request. How do you create a multipart request in a client?
```
context.request().formAttributes().forEach( attr -> {
//toReq.write(attr.getKey(), attr.getValue());
System.out.println("found: "+attr.getKey());
});
```
```
context.request().uploadHandler(upload -> {
});
```
I tried this in the dispatchRequests method as well as in the server configuration, with and without lambdas and the error is always the same. Here is my last attempt. The
```
vertx.createHttpServer()
//.requestHandler(router::accept)
.requestHandler(request -> {
boolean expectMultipart = request.isExpectMultipart();
request.setExpectMultipart(true);
request.endHandler(vh -> {
request.uploadHandler(event -> {
});
});
})
```
Could it be an issue? Or the CircuitBreaker interfering?
Is it possible to create a gateway that routes "normal" messages along with multiparts?
PS: the project is great :)
cheers,