Cannot process POST request
Bug #1460010 reported by
dorazz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
New
|
Undecided
|
Unassigned |
Bug Description
Run the example program:
spawn-fcgi -d /www -f /www/hello.py -a 127.0.0.1 -p 9002 -n
browse 127.0.0.1 and output : get
load jquery and send a post request:
$.post("127.0.0.1")
Output: get <---- WTF? its should be post!
WebPy 0.37-12.6 on OpenSUSE 13.1 Python 2.7.6
nginx/1.4.7 using fastcgi
To post a comment you must log in.
It's my bad.
i didn't add REQUEST_METHOD param to nginx config file;