Re: [Twisted-Python] Web Proxy that does something different once a day
21 Sep
2007
21 Sep
'07
8:34 p.m.
It looks like this is just for the web browsers (i.e., HTTP protocol). If so, then at step 2 you would make your test. If you decide A should go to the "required reading" URL instead of the requested URL, simply skip steps 3-5 and return a valid HTTP document with a "moved temporarily" code (30x, I think). The browser will then request the other URL. The one catch is that, depending on the browser, the user may get the same page if they request the original URL again in the same browser window/session. If that's the case, they would need to open a new window to get to the original URL.
That sounds reasonable and good. Any clue how you would implement that in Twisted? -FT -- Fred Trotter http://www.fredtrotter.com
6264
Age (days ago)
6264
Last active (days ago)
0 comments
1 participants
participants (1)
-
Fred Trotter