Revision b698d39d
ID | b698d39dd6cbe4bf47b63ed0d6a98b9b126ca40e |
Fix API decorator response Content-Type
Remove check for response Content-Type, since 'django.http.HttpResponse'
has always a default Content-Type of 'text/html; charset=utf-8'. Views
defining their response 'Content-Type' should set the
'override_serialization' attribute of response to 'True'.
Files
- added
- modified
- copied
- renamed
- deleted