« Previous | Next » 

Revision b698d39d


Added by Christos Stavrakakis almost 12 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'.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences