sonian / elasticsearch-jetty

Apache License 2.0
284 stars 79 forks source link

Missed headers #66

Open JonathanWentz opened 10 years ago

JonathanWentz commented 10 years ago

We recently pulled in the Jetty ES plugin and noticed that it doesn't copy over custom headers. This is an issue as some of our logic is dependent on setting cookies (in a custom filter we've developed).

The issue looks like it's with JettyHttpServerRestChannel's sendResponse method; the equivalent ES class (NettyHttpChannel) has logic to copy over headers from the ES custom RestResponse class to JBoss', but the Jetty one doesn't copy them into the HttpServletResponse.

shmmathur commented 9 years ago

I am facing a similar issue. Is this issue resolved ? any recommended work around for the same ?