cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: HTTP WS proxy generators and POST
Date Fri, 09 Apr 2004 15:32:01 GMT
On 09.04.2004 16:45, Darren Petrie wrote:

> I cannot seem to get the httpproxygenerator or wsproxygenerator working 
> for POST requests.  Here is my snippet:
> 
> <map:match pattern="submit/email">
>   <map:generate type="wsproxy" src="http://myserver/submit.php">
>     <map:parameter name="wsproxy-method" value="post"/>
>   </map:generate>
>   <map:serialize type="xml"/>
> </map:match>
> 
> Submitting directly to http://myserver/submit.php works fine.  Changing 
> the form to use GET and proxying the GET works fine.  POST just doesn't 
> seem to work.

Seems to be correct. What exactly does "POST just doesn't seem to work" 
mean?

I tried it with the samples in the proxy block, changed therefore the 
method to post and it works the same way like get.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message