Merge pull request #1163 from vopankov/master

Add __weakref__ to Request slots
This commit is contained in:
Raphael Deem 2018-03-17 14:52:25 -07:00 committed by GitHub
commit c4c4ed70d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ class Request(dict):
'app', 'headers', 'version', 'method', '_cookies', 'transport', 'app', 'headers', 'version', 'method', '_cookies', 'transport',
'body', 'parsed_json', 'parsed_args', 'parsed_form', 'parsed_files', 'body', 'parsed_json', 'parsed_args', 'parsed_form', 'parsed_files',
'_ip', '_parsed_url', 'uri_template', 'stream', '_remote_addr', '_ip', '_parsed_url', 'uri_template', 'stream', '_remote_addr',
'_socket', '_port' '_socket', '_port', '__weakref__'
) )
def __init__(self, url_bytes, headers, version, method, transport): def __init__(self, url_bytes, headers, version, method, transport):