HTTP 服务器和客户端¶
tornado.httpserver
— 非阻塞 HTTP 服务器tornado.httpclient
— 异步 HTTP 客户端tornado.httputil
— 操作 HTTP 头部和 URLHTTPHeaders
HTTPServerRequest
HTTPServerRequest.method
HTTPServerRequest.uri
HTTPServerRequest.path
HTTPServerRequest.query
HTTPServerRequest.version
HTTPServerRequest.headers
HTTPServerRequest.body
HTTPServerRequest.remote_ip
HTTPServerRequest.protocol
HTTPServerRequest.host
HTTPServerRequest.arguments
HTTPServerRequest.query_arguments
HTTPServerRequest.body_arguments
HTTPServerRequest.files
HTTPServerRequest.connection
HTTPServerRequest.cookies
HTTPServerRequest.full_url()
HTTPServerRequest.request_time()
HTTPServerRequest.get_ssl_certificate()
HTTPInputError
HTTPOutputError
HTTPServerConnectionDelegate
HTTPMessageDelegate
HTTPConnection
url_concat()
HTTPFile
parse_body_arguments()
parse_multipart_form_data()
format_timestamp()
RequestStartLine
parse_request_start_line()
ResponseStartLine
parse_response_start_line()
encode_username_password()
split_host_and_port()
qs_to_qsl()
parse_cookie()
tornado.http1connection
– HTTP/1.x 客户端/服务器实现