ringle, Chris (HP-PSG)
> Cc: [EMAIL PROTECTED]
> Subject: Re: [QUESTION] Relating a request to a response
>
>
> Pringle, Chris (HP-PSG) wrote:
> > Thanks for your help on this issue. I have modified my code
> so that it
> > uses the same technique as the one
Pringle, Chris (HP-PSG) wrote:
Thanks for your help on this issue. I have modified my code so that it
uses the same technique as the one you wrote, and it's now working quite
well :)
I'm quite interested in the idea of having a generalized bit of code to
modify HTTP headers. However, I'm not a part
; -Original Message-
> From: Stas Bekman [mailto:[EMAIL PROTECTED]
> Sent: 07 October 2003 02:12
> Cc: Pringle, Chris (HP-PSG); [EMAIL PROTECTED]
> Subject: Re: [QUESTION] Relating a request to a response
>
>
> Stas Bekman wrote:
> [...]
> > The following is a much
Stas Bekman wrote:
[...]
The following is a much more generic example than you need, so you will
be able to simplify it a great deal. I'll commit that soon as a new
test. I see some problem which I need to debug more, but it won't affect
your task.
I've committed a fix to this problem. the test
Pringle, Chris (HP-PSG) wrote:
That should be pretty trivial to accomplish.
To answer your question of passing data: use notes:
$filter->r->note->set(transform => 1);
if you work with the connection level filter you will need to use:
$filter->c->note->set(transform => 1);
though remember t
Pringle, Chris (HP-PSG) wrote:
Notes problem solved...I should have been using the "notes" object not
the "note" object. Found it in the mod_perl 1.0 documentation.
Yes, sorry about that.
Will the mod_perl 2.0 documentation include all the mod_perl 1.0 API at
some point? At the moment, the API for
Bekman
> Cc: [EMAIL PROTECTED]
> Subject: RE: [QUESTION] Relating a request to a response
>
>
> >
> > That should be pretty trivial to accomplish.
> >
> > To answer your question of passing data: use notes:
> >
> >$filter->r->note-&
>
> That should be pretty trivial to accomplish.
>
> To answer your question of passing data: use notes:
>
>$filter->r->note->set(transform => 1);
>
> if you work with the connection level filter you will need to use:
>
>$filter->c->note->set(transform => 1);
>
> though remember that
Also, once you finish this project, it'd be really nice to put a simplified
version of your code as a tutorial into the filters documentation as a great
example of the filters power. If you can do that, that would be great. Thanks.
Pringle, Chris (HP-PSG) wrote:
I'm currently working on a project to transform web content. It's
basically a proxy server that has some Mod_Perl filters loaded to
perform the transformations.
Below is a diagram that shows how the requests are being passed from
client to web server.
CLIENT <->
ION] Relating a request to a response
>
>
> Hello, Chris
>
> Basically more details are needed, especially, I wonder HOW
> do you proxy
> the request ? Which mod_perl method do you use to pass the
> query to the
> underlaying web server or may be you go with libwww-p
Title: [QUESTION] Relating a request to a response
I'm currently working on a project to transform web content. It's basically a proxy server that has some Mod_Perl filters loaded to perform the transformations.
Below is a diagram that shows how the requests are being passed from
12 matches
Mail list logo