vert-x3 / vertx-web

HTTP web applications for Vert.x
Apache License 2.0
1.11k stars 535 forks source link

[2678] Send multiple headers for url-encoded and multipart-form bodies #2679

Open ilia1243 opened 1 week ago

ilia1243 commented 1 week ago

Motivation:

Multiple headers are not sent with url-encoded and multipart-form bodies.

Solution:

Change resolution of headers in HttpContext#handleCreateRequest(). Do not use MultiMap#get() to copy headers anymore. Instead, copy the entries from the original MultiMap using MultiMap#addAll(MultiMap).

Fixes #2678