« Previous | Next » 

Revision b698d39d

IDb698d39dd6cbe4bf47b63ed0d6a98b9b126ca40e

Added by Christos Stavrakakis almost 9 years ago

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

View differences