tomchristie/django-rest-framework — pull request #862 by lolek09 (2013-05-18 14:52:35+00:00)
Title: #807, appending charset param to Response's 'Content-Type' header

I've added a new setting DEFAULT_CHARSET in rest_framework.settings.DEFAULTS which is None by default (to prevent rest framework from adding the charset param, and stay backwards compatible).

Renderers can have `charset` attribute set on them and it gets appended to the header of the response (if this renderer was used to render it) unless `charset` is set to None.

Added some tests.