Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty inject header to request

Hi
Thx, I found this: http://download.eclipse.org/jetty/stable-8/apidocs/org/eclipse/jetty/rewrite/handler/HeaderPatternRule.html
But no matter how i try configure it, it still don't add anything to headers.
Here is content of my jetty.xml: http://pastebin.com/8NknrDdd

-Konstantin

On 27 April 2012 15:25, Jesse McConnell <jesse.mcconnell@xxxxxxxxx> wrote:
take a look at the RewriteHandler

http://wiki.eclipse.org/Jetty/Feature/Rewrite_Handler

cheers,
jesse

--
jesse mcconnell
jesse.mcconnell@xxxxxxxxx


On Fri, Apr 27, 2012 at 05:18, Konstantin Petrukhnov
<konstantin.petrukhnov@xxxxxxxxx> wrote:
> Hello
> We use jetty for testing. Is it possible to add specific header to all
> requests that come to jetty via some jetty xml config file.
> In other words, when jetty server is started and someone make request,
> header added before request hit servlet.
>
> I found next related message in
> archive: http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01397.html
>
> - Konstantin
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top