mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #30550 -- Fixed decoding of non-UTF-8 bytes objects in response.json().
This commit is contained in:
committed by
Mariusz Felisiak
parent
498092377b
commit
d6ea4898c4
@@ -31,6 +31,7 @@ urlpatterns = [
|
||||
path('check_unicode/', views.return_unicode),
|
||||
path('check_binary/', views.return_undecodable_binary),
|
||||
path('json_response/', views.return_json_response),
|
||||
path('json_response_latin1/', views.return_json_response_latin1),
|
||||
path('parse_encoded_text/', views.return_text_file),
|
||||
path('check_headers/', views.check_headers),
|
||||
path('check_headers_redirect/', RedirectView.as_view(url='/check_headers/')),
|
||||
|
||||
Reference in New Issue
Block a user