Welcome! Log In Create A New Profile

Advanced

bug: POST to static page causes 405

Jonathan Vanasco
July 24, 2009 02:52PM
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@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
| - - - - - - - - - -
Subject Author Posted

bug: POST to static page causes 405

Jonathan Vanasco July 24, 2009 02:52PM

Re: bug: POST to static page causes 405

peacock July 28, 2009 11:49PM

Re: bug: POST to static page causes 405

Igor Sysoev July 29, 2009 04:33AM

Re: bug: POST to static page causes 405

peacock July 29, 2009 08:24AM

Re: bug: POST to static page causes 405

peacock July 29, 2009 08:25AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 323
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready