mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed missing initializations in WSGIRequest. Refs #20619
This commit is contained in:
@@ -39,6 +39,10 @@ class HttpRequest(object):
|
||||
_upload_handlers = []
|
||||
|
||||
def __init__(self):
|
||||
# WARNING: The `WSGIRequest` subclass doesn't call `super`.
|
||||
# Any variable assignment made here should also happen in
|
||||
# `WSGIRequest.__init__()`.
|
||||
|
||||
self.GET, self.POST, self.COOKIES, self.META, self.FILES = {}, {}, {}, {}, {}
|
||||
self.path = ''
|
||||
self.path_info = ''
|
||||
|
||||
Reference in New Issue
Block a user