mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
committed by
Tim Graham
parent
888c1e9bfe
commit
d1bab24e01
@@ -1266,7 +1266,7 @@ class QueryStringTests(SimpleTestCase):
|
||||
class UnicodePayloadTests(SimpleTestCase):
|
||||
|
||||
def test_simple_unicode_payload(self):
|
||||
"A simple ASCII-only unicode JSON document can be POSTed"
|
||||
"A simple ASCII-only JSON document can be POSTed"
|
||||
# Regression test for #10571
|
||||
json = '{"english": "mountain pass"}'
|
||||
response = self.client.post("/parse_unicode_json/", json, content_type="application/json")
|
||||
|
||||
Reference in New Issue
Block a user