mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
fd4ccd045c
Previously, GET, POST, and FILES on an HttpRequest were created in the __init__ method as dictionaries. This was not something you would usually notice causing trouble in production as you'd only see a WSGIRequest, but in testing using the test client, calling .getlist on GET, POST, or FILES for a request with no get/post data resulted in an AttributeError. Changed GET and POST on an HttpRequest object to be mutable QueryDicts (mutable because the Django tests, and probably many third party tests, were expecting it). |
||
---|---|---|
.. | ||
__init__.py | ||
tests.py |