Sitelet https://github.com/qos-ch/logback-access/pull/23
Skip to content

Handle multiple headers with the same name - #23

Open
Mahoney wants to merge 2 commits into
qos-ch:mainfrom
Mahoney-forks:handle-multiple-headers
Open

Mahoney wants to merge 2 commits into
qos-ch:mainfrom
Mahoney-forks:handle-multiple-headers

Conversation

@Mahoney

@Mahoney Mahoney commented Jan 16, 2025

Copy link
Copy Markdown
Contributor

Pushes the fixes in dropwizard/dropwizard#8008
upstream into logback-access, where they probably should be.

Unfortunately HttpGetUtil uses HttpURLConnection, which makes it
hard to write a test for this because HttpURLConnection combines the
headers for you.

Their implementation is the same as the super class

Retain `JettyModernServerAdapter` for backwards compatibility.

Signed-off-by: Robert Elliot <rob@lidalia.org.uk>
Pushes the fixes in dropwizard/dropwizard#8008
upstream into logback-access, where they probably should be.

Unfortunately `HttpGetUtil` uses `HttpURLConnection`, which makes it
hard to write a test for this because `HttpURLConnection` combines the
headers for you.

Signed-off-by: Robert Elliot <rob@lidalia.org.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request IN_PROGRESS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants