

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
35 messages in org.apache.perl.modperlRe: [mp2] how to redirect POST data| From | Sent On | Attachments |
|---|---|---|
| Beberle | Dec 13, 2004 2:43 am | |
| Tom Schindl | Dec 13, 2004 4:02 am | |
| Reenen C Kroukamp | Dec 13, 2004 4:44 am | |
| Beberle | Dec 14, 2004 5:32 pm | |
| Joe Schaefer | Dec 14, 2004 6:49 pm | |
| Beberle | Dec 16, 2004 6:42 pm | |
| Joe Schaefer | Dec 16, 2004 8:44 pm | |
| Matthew Berk | Dec 16, 2004 11:05 pm | |
| Stas Bekman | Dec 17, 2004 8:11 am | |
| Barksdale, Ray | Dec 17, 2004 8:57 am | |
| Joe Schaefer | Dec 17, 2004 10:27 am | |
| Stas Bekman | Dec 17, 2004 10:38 am | |
| Barksdale, Ray | Dec 17, 2004 11:04 am | |
| Stas Bekman | Dec 17, 2004 11:25 am | |
| Barksdale, Ray | Dec 17, 2004 1:04 pm | |
| Stas Bekman | Dec 17, 2004 1:19 pm | |
| Barksdale, Ray | Dec 17, 2004 3:37 pm | |
| Stas Bekman | Dec 17, 2004 3:44 pm | |
| Matthew Berk | Dec 20, 2004 6:43 am | |
| Barksdale, Ray | Dec 22, 2004 7:19 am | |
| Stas Bekman | Dec 22, 2004 12:27 pm | |
| Barksdale, Ray | Dec 22, 2004 12:37 pm | |
| Stas Bekman | Dec 22, 2004 1:16 pm | |
| Barksdale, Ray | Dec 22, 2004 2:01 pm | |
| Stas Bekman | Dec 22, 2004 2:22 pm | |
| Barksdale, Ray | Dec 22, 2004 3:06 pm | |
| Stas Bekman | Dec 22, 2004 4:01 pm | |
| Barksdale, Ray | Dec 28, 2004 2:50 pm | |
| Stas Bekman | Dec 28, 2004 3:01 pm | |
| Barksdale, Ray | Dec 28, 2004 3:14 pm | |
| Stas Bekman | Dec 28, 2004 3:17 pm | |
| Barksdale, Ray | Dec 28, 2004 3:50 pm | |
| Joe Schaefer | Dec 28, 2004 5:29 pm | |
| Barksdale, Ray | Dec 29, 2004 8:59 am | |
| Stas Bekman | Dec 29, 2004 9:21 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [mp2] how to redirect POST data | Actions... |
|---|---|---|
| From: | Joe Schaefer (joe+...@sunstarsys.com) | |
| Date: | Dec 14, 2004 6:49:48 pm | |
| List: | org.apache.perl.modperl | |
Beberle <bebe...@yahoo.com> writes:
Right, that's exactly the problem I'm trying to work around. Once I've read the POST data, is there some way to re-POST it?
Not sure this is addressing your particular problem, but let me try to explain how Apache::Request tries to resolve this sort of thing in mp2.
apache 2.x has filters, which can be plugged into the I/O chain just about anywhere. So if you think of the HTTP request as a pipeline between the user-agent and apache's response-handler
[user-agent] -> [intermediate web proxies] -> [apache server] ->
[connection filters] -> [protocol filters] -> [request filters] -> ^ [response-handler] ^ ^ (mod_apreq)
mod_apreq is a request filter which gets inserted into the pipeline whenever someone makes a certain libapreq2 library function call. In the mp2 case, that happens whenever someone invokes Apache::Request::new.
Through mod_apreq, libapreq2 is able to parse the POST data without removing the data from the pipeline. If it needs to, mod_apreq will drive the pipeline to pull more data through, but the data will remain in the pipeline for later filters/handlers to see. It's designed this way to allow Apache::Request to be usable in any pre-response-handler phase without losing the POST data.
-- Joe Schaefer
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html







