博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
dir for RequestHandler and request
阅读量:7047 次
发布时间:2019-06-28

本文共 2752 字,大约阅读时间需要 9 分钟。

两个对象的dir

# RequestHandler['GET', 'GETPOST', 'POST', 'SUPPORTED_METHODS', '_ARG_DEFAULT', '_INVALID_HEADER_CHAR_RE', '_Root__prepare_get_and_post_parameters', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_auto_finish', '_clear_headers_for_304', '_convert_header_value', '_db', '_decode_xsrf_token', '_execute', '_finished', '_get_argument', '_get_arguments', '_get_raw_xsrf_token', '_handle_request_exception', '_headers', '_headers_written', '_log', '_prepared_future', '_reason', '_remove_control_chars_regex', '_request_summary', '_stack_context_handle_exception', '_status_code', '_template_loader_lock', '_template_loaders', '_transforms', '_ui_method', '_ui_module', '_write_buffer', 'add_header', 'application', 'check_etag_header', 'check_xsrf_cookie', 'clear', 'clear_all_cookies', 'clear_cookie', 'clear_header', 'compute_etag', 'cookies', 'create_signed_value', 'create_template_loader', 'current_user', 'data_received', 'db', 'decode_argument', 'delete', 'finish', 'flush', 'get', 'get_argument', 'get_arguments', 'get_body_argument', 'get_body_arguments', 'get_browser_locale', 'get_cookie', 'get_current_user', 'get_login_url', 'get_query_argument', 'get_query_arguments', 'get_secure_cookie', 'get_secure_cookie_key_version', 'get_status', 'get_template_namespace', 'get_template_path', 'get_user_locale', 'head', 'initialize', 'locale', 'log_exception', 'on_connection_close', 'on_finish', 'options', 'patch', 'path_args', 'path_kwargs', 'post', 'prepare', 'put', 'redirect', 'render', 'render_string', 'request', 'require_setting', 'reverse_url', 'send_error', 'set_cookie', 'set_default_headers', 'set_etag_header', 'set_header', 'set_secure_cookie', 'set_status', 'settings', 'static_url', 'ui', 'write', 'write_error', 'xsrf_form_html', 'xsrf_token']# RequestHandler.request['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_finish_time', '_parse_body', '_start_time', 'arguments', 'body', 'body_arguments', 'connection', 'cookies', 'files', 'finish', 'full_url', 'get_ssl_certificate', 'headers', 'host', 'method', 'path', 'protocol', 'query', 'query_arguments', 'remote_ip', 'request_time', 'supports_http_1_1', 'uri', 'version', 'write']

获取url:

self.request.uri

/profile/uid/1

转载地址:http://tldol.baihongyu.com/

你可能感兴趣的文章
hdoj-3371-Connect the Cities【最小生成树】
查看>>
SSL和SSH的差别
查看>>
使用AutoMapper实现Dto和Model的自由转换(中)
查看>>
用异或操作实现的交换函数用以实现数组逆置中须要注意的问题
查看>>
Tomcat的URL中文乱码解决以及传输优化
查看>>
【POI】修改已存在的xls,新添一列后,再保存本文件
查看>>
mac nginx 安装教程
查看>>
小贝_mysql 触发器使用
查看>>
jstree中json data 的生成
查看>>
Win7 64bit 安装VisualSVN出现报错:Servic 'VisualSVN Server' failed to start.解决的方法...
查看>>
论-多租户技术
查看>>
解析json方式之net.sf.json
查看>>
java中集合格式及json格式的特点和转换
查看>>
Java下用Jackson进行JSON序列化和反序列化(转)
查看>>
input_shape { dim: 1 dim: 3 dim: 224 dim: 224 }
查看>>
15.extjs tabPanel的用法
查看>>
NetFlow是一种数据交换方式,提供网络流量的会话级视图,记录下每个TCP/IP事务的信息...
查看>>
Redis命令汇总
查看>>
Python shuffle() 函数
查看>>
Linux系列教程(七)——Linux常用命令之帮助和用户管理命令
查看>>