tornadoweb / tornado

Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
http://www.tornadoweb.org/
Apache License 2.0
21.73k stars 5.5k forks source link

Can I redirect using POST method? #1308

Closed lotusnowshen closed 9 years ago

lotusnowshen commented 9 years ago

The function is to sending a form to UnionPay Server, it needs users to click the button. But I want to omit it,using redirect with POST instead. Cat I implement it?

bdarnell commented 9 years ago

This is not a tornado issue; it's a general HTTP question. You'll have better luck on stack overflow. (The short answer is that redirects are always GET but you may be able to use javascript instead)

lotusnowshen commented 9 years ago

Thanks.