Tornado - What is the difference between RequestHandler's get_argument(), get_query_argument() and get_body_argument()?
问题 When to use RequestHandler.get_argument() , RequestHandler.get_query_argument() and RequestHandler.get_body_argument() ? What is the use-case for each of them? Also what does the request.body and request.argument do in these cases? Which are to be used in which scenarios? And, is there a request.query or something similar too? 回答1: Most HTTP requests store extra parameters (say, form values) in one of two places: the URL (in the form of a ?foo=bar&spam=eggs query string), or in the request