We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
4.5.3
The task is to send few values for the same header, e. g. using HttpRequest#putHeader(String, Iterable).
If using HttpRequest#sendForm() or HttpRequest#sendMultipartForm(), only the first value is sent.
HttpRequest#sendForm()
HttpRequest#sendMultipartForm()
If using just HttpRequest#send(), all values are sent.
HttpRequest#send()
WebClient.getAbs("<URI>") .putHeader("Test", List.of("A", "B")) .sendForm(MultiMap.caseInsensitiveMultiMap())
Actual result:
Test: A
Expected result:
Test: A Test: B
vertx-web/vertx-web-client/src/main/java/io/vertx/ext/web/client/impl/HttpContext.java
Line 447 in 2a661ad
The text was updated successfully, but these errors were encountered:
[2678] Send multiple headers for url-encoded and multipart-form bodies
8e985f2
Bug: vert-x3#2678
f4dd014
Suggested fix #2679
Sorry, something went wrong.
tsegismont
Successfully merging a pull request may close this issue.
Version
4.5.3
Context
The task is to send few values for the same header, e. g. using HttpRequest#putHeader(String, Iterable).
If using
HttpRequest#sendForm()
orHttpRequest#sendMultipartForm()
, only the first value is sent.If using just
HttpRequest#send()
, all values are sent.Steps to reproduce
Actual result:
Expected result:
Extra
vertx-web/vertx-web-client/src/main/java/io/vertx/ext/web/client/impl/HttpContext.java
Line 447 in 2a661ad
The text was updated successfully, but these errors were encountered: