[mod_python] Vampire/mod_python determining type of argument - GET/POST

Jim Gallacher jpg at jgassociates.ca
Tue Nov 29 15:27:41 EST 2005


Deron Meranda wrote:
> On 11/29/05, Brandon N <woodsman at gmail.com> wrote:
> 
>>I didn't realize it had to be either get or post, but I suppose that makes
>>sense.
> 
> 
> It can be other things too.  In fact I'm using mod_python to process
> PUT requests as well.

However, most browsers IIRC will only submit a form using POST or GET. 
If you use <form method="PUT">, the browser will still use a POST. Same 
goes for urllib2. It would be nice if more clients supported PUT, but 
there you go.

As Deron says there is no problem on the mod_python server side.

Jim


More information about the Mod_python mailing list