tjg184 / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

proxy should have pass-cookies option #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There are cases in my work where I need to pass through the cookies of the 
original request to a proxied URL. I have been running a modified version of 
3.2 where cookies are passed through for a while.

It would be great for the main version of the filter to have an option on a 
proxy rule to pass cookies through. 

Something like either of the following would be great.

  <to type="proxy" pass-cookies="true">...

or 

  <to type="cookied-proxy">....

I can provide a patch if needed.

Original issue reported on code.google.com by whatl...@gmail.com on 21 Jun 2012 at 1:03

GoogleCodeExporter commented 9 years ago
I've been using http://code.google.com/p/gwt-proxy-servlet/ as it seems to do a 
good job of connection pooling and passing cookies/headers properly (removing 
default behaviour of caching in the connection pool, and passing to/from 
incoming request)

I would be great if urlrewritefilter supported similar capabilities, or at 
least a factory/chain of responsibility so that we could inject this behaviour.

Original comment by tahi...@gmail.com on 7 Jul 2012 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by p...@tuckey.org on 8 Jul 2012 at 8:44

GoogleCodeExporter commented 9 years ago
This patch works

https://code.google.com/p/urlrewritefilter/issues/detail?id=149&colspec=ID%20Typ
e%20Status%20Summary%20Stars

Original comment by syt...@gmail.com on 18 Nov 2014 at 2:06