id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 27113 Test that setting HttpRequest.encoding clears POST Tim Graham PREMANAND "Looking at Django's coverage report, I found some untested lines: [https://github.com/django/django/blob/bc1e2d8e8edde6cc7d2657c68242a13ee65a15b8/django/http/request.py#L227-L231]. Removing them doesn't cause any tests to fail. A test should be added to demonstrate [https://docs.djangoproject.com/en/dev/ref/request-response/#django.http.HttpRequest.encoding the documented behavior]: You can write to `HttpRequest.encoding` to change the encoding used when accessing the form data. Any subsequent attribute accesses (such as reading from GET or POST) will use the new encoding value. The test might look similar the following test, but should use a value that appears differently after the encoding changes: https://code.djangoproject.com/attachment/ticket/27107/27107-test.diff" Cleanup/optimization closed HTTP handling 1.10 Normal fixed Accepted 1 0 0 1 0 0