Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-28 Thread albertochan
[...] Why don't you just write a fixup handler with libapreq-2? AFAICT libapreq-2's mod_apreq (filter) handles these details for you. I did have the sense that what I was trying to do running under the HTTP_IN filter an impossible task to achieve. That is until I took a look at

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-28 Thread Joe Schaefer
[EMAIL PROTECTED] writes: [...] Why don't you just write a fixup handler with libapreq-2? AFAICT libapreq-2's mod_apreq (filter) handles these details for you. I did have the sense that what I was trying to do running under the HTTP_IN filter an impossible task to achieve. That

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-25 Thread Joe Schaefer
[EMAIL PROTECTED] writes: [...] The question is how can I ask CORE_IN for the request line, http headers and request body without causing it to be consumed? Why don't you just write a fixup handler with libapreq-2? AFAICT libapreq-2's mod_apreq (filter) handles these details for you.

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-19 Thread Jeff Trawick
[EMAIL PROTECTED] wrote: The only way I can see where I will have the ability to insert those HTTP inbound request headers is if my filter runs between the CORE_IN and the HTTP_IN input filter, I'm afraid this is true... Does anyone else have a better idea? in which case I will need a properly

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-19 Thread albertochan
Be careful you have configuration to avoid buffering the entire .iso file that somebody tries to copy to their DAV filesystem. And your configuration may be roll-your-own w.r.t. selecting which request objects to operate on since you may have to make your decisions before Apache has read

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-19 Thread Jeff Trawick
[EMAIL PROTECTED] wrote: Be careful you have configuration to avoid buffering the entire .iso file that somebody tries to copy to their DAV filesystem. And your configuration may be roll-your-own w.r.t. selecting which request objects to operate on since you may have to make your decisions

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-18 Thread Jeff Trawick
[EMAIL PROTECTED] wrote: I am writing a module need to be able to examine POST data, and insert inbound HTTP request headers after my code has been run by apache so that: Does your module needs to read and examine the request body (POST data) prior to inserting the HTTP request headers, or are

Re: Input filter and setting HTTP headers in Apache 2.0

2003-09-18 Thread albertochan
Hi, Does your module needs to read and examine the request body (POST data) prior to inserting the HTTP request headers, Yes, the module needs the ability to look at the request body, and based on its content, add the necessary HTTP request headers if required for the web application to

Input filter and setting HTTP headers in Apache 2.0

2003-09-17 Thread albertochan
Hi, I am writing a module need to be able to examine POST data, and insert inbound HTTP request headers after my code has been run by apache so that: 1. the web application can still retrieve the POST data if required for its own consumption 2. the web application needs to have access