Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Fixes #3609 #3612

Closed
wants to merge 1 commit into from
Closed

Fixes #3609 #3612

wants to merge 1 commit into from

Conversation

hypnoce
Copy link

@hypnoce hypnoce commented Jul 6, 2017

Fixes #3609 : Combine replicated header in JettyConnector.

@hypnoce hypnoce changed the title Fixes #3611 Fixes #3609 Jul 6, 2017
@hypnoce hypnoce force-pushed the jetty_connector_ua branch from 5daa86f to ab03f2a Compare July 7, 2017 07:57
@hypnoce
Copy link
Author

hypnoce commented Jul 12, 2017

OCA signed

@hypnoce hypnoce force-pushed the jetty_connector_ua branch from ab03f2a to 77d7b53 Compare July 12, 2017 08:15
@AdamLindenthal
Copy link
Member

Hi Francois,

thanks for sumbitting the pull request. However, we solved the issue via internal commit. Your patch would create a header containing multiple values. The User-agent header added by Jersey already contains the information about the underlying Jetty version. So, in the end, we went with a dead simple solution, as can be seen in the commit.

Regards,
Adam

@hypnoce
Copy link
Author

hypnoce commented Jul 14, 2017

Thanks Adam,

I agree it will be a multiple value header. Strictly speaking, this is legal as per the http specification. This PR ment to provide a more general solution that does not rely on the fact the jetty has default headers.
Thanks for fixing it.

Regards

Francois

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants