Open ilia1243 opened 1 week ago
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
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