HTTP 服务器和客户端¶
tornado.httpserver— 非阻塞 HTTP 服务器tornado.httpclient— 异步 HTTP 客户端tornado.httputil— 操作 HTTP 头部和 URLHTTPHeadersHTTPServerRequestHTTPServerRequest.methodHTTPServerRequest.uriHTTPServerRequest.pathHTTPServerRequest.queryHTTPServerRequest.versionHTTPServerRequest.headersHTTPServerRequest.bodyHTTPServerRequest.remote_ipHTTPServerRequest.protocolHTTPServerRequest.hostHTTPServerRequest.argumentsHTTPServerRequest.query_argumentsHTTPServerRequest.body_argumentsHTTPServerRequest.filesHTTPServerRequest.connectionHTTPServerRequest.cookiesHTTPServerRequest.full_url()HTTPServerRequest.request_time()HTTPServerRequest.get_ssl_certificate()
HTTPInputErrorHTTPOutputErrorHTTPServerConnectionDelegateHTTPMessageDelegateHTTPConnectionurl_concat()HTTPFileparse_body_arguments()parse_multipart_form_data()format_timestamp()RequestStartLineparse_request_start_line()ResponseStartLineparse_response_start_line()encode_username_password()split_host_and_port()qs_to_qsl()parse_cookie()
tornado.http1connection– HTTP/1.x 客户端/服务器实现