• Christos Stavrakakis's avatar
    Fix API decorator response Content-Type · 3b538afa
    Christos Stavrakakis authored
    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'.
    3b538afa
functions.py 56.5 KB