edx/django-oauth2-provider — pull request #5 by rocha (2014-08-28 18:16:31+00:00)
Title: Replace uses of the "mimetype" arg of HttpResponse with "content_type".

mimetype has been deprecated for a long time and has been removed from
django in the development version. This commit uses content_type for
the default value but allows specifying either, regardless of the
version of Django. Specifying "mimetype" will work for users of
django-oauth2-provider if their version of django supports it (the
deprecated argument has precedence), and will break if it doesn't.