bug: POST to static page causes 405

Jonathan Vanasco nginx at 2xlp.com
Fri Jul 24 22:52:30 MSD 2009


doing a POST to a static page will cause a 405

you can test by just posting to a dynamic and static page as such ( -d  
key=value sends data as a POST )

works:
	curl -v -d1=1 http://site.com/dynamic.php

works:
	curl -v  http://site.com/static.html

405:
	curl -v -d1=1 http://site.com/static.html

one could also test via a html form , but that's easier !

I'd consider this a bug, because many 3rd party sites -- such as  
facebook applications -- will POST everything.


// Jonathan Vanasco

e. jonathan at 2xlp.com
w. http://findmeon.com/user/jvanasco
blog. http://destructuring.net

|   -   -   -   -   -   -   -   -   -   -
|   Founder/CEO - FindMeOn, Inc.
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|   -   -   -   -   -   -   -   -   -   -
|   CTO - ArtWeLove, LLC
|      ArtWeLove.com - Explore Art On Your Own Terms
|   -   -   -   -   -   -   -   -   -   -
|      RoadSound.com - Tools for Bands, Stuff for Fans
|   -   -   -   -   -   -   -   -   -   -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090724/869c7b5a/attachment.html>


More information about the nginx mailing list