any way to match on http request type

2003-06-03 Thread Miles Egan
Is there any way to match/select in the pipeline for the HTTP method used in the request? I'd like to write a pipeline for handling PUT requests. -- Miles Egan [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part

Re: any way to match on http request type

2003-06-03 Thread Alex Romayev
Have you looked at the HeaderSelector? Miles Egan [EMAIL PROTECTED] wrote:Is there any way to match/select in the pipeline for the HTTP method used in the request? I'd like to write a pipeline for handling PUT requests. -- Miles Egan ATTACHMENT part 2 application/pgp-signature

Re: any way to match on http request type

2003-06-03 Thread Miles Egan
The problem is that I don't want to select on one of the headers, but the actual request method (GET/POST/PUT). On Mon, 2003-06-02 at 11:26, Alex Romayev wrote: Have you looked at the HeaderSelector? Miles Egan [EMAIL PROTECTED] wrote:Is there any way to match/select in the pipeline for the

Re: any way to match on http request type

2003-06-03 Thread Alex Romayev
Sorry. You need the RequestMethodSelector. http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/selection/RequestMethodSelector.html --- Miles Egan [EMAIL PROTECTED] wrote: The problem is that I don't want to select on one of the headers, but the actual request method (GET/POST/PUT). On

Re: any way to match on http request type

2003-06-03 Thread Miles Egan
Perfect! Thanks. On Mon, 2003-06-02 at 11:59, Alex Romayev wrote: Sorry. You need the RequestMethodSelector. http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/selection/RequestMethodSelector.html --- Miles Egan [EMAIL PROTECTED] wrote: The problem is that I don't want to select on

Re: any way to match on http request type

2003-06-03 Thread Christian Haul
On 02.Jun.2003 -- 09:20 AM, Miles Egan wrote: Is there any way to match/select in the pipeline for the HTTP method used in the request? I'd like to write a pipeline for handling PUT requests. Another possibility is to construct your own Matcher from the (Caching)WildCardMatcher in