mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 19:14:01 +03:00
Tweak media_type -> accepted_media_type. Need to document, but marginally less confusing
This commit is contained in:
parent
3f7371c796
commit
064e1ba91f
|
@ -24,7 +24,7 @@ class Response(SimpleTemplateResponse):
|
||||||
|
|
||||||
# Accepted media type is the portion of the request Accept header
|
# Accepted media type is the portion of the request Accept header
|
||||||
# that the renderer satisfied. It could be '*/*', or somthing like
|
# that the renderer satisfied. It could be '*/*', or somthing like
|
||||||
# 'application/json; indent=4'
|
# application/json; indent=4
|
||||||
#
|
#
|
||||||
# This is NOT the value that will be returned in the 'Content-Type'
|
# This is NOT the value that will be returned in the 'Content-Type'
|
||||||
# header, but we do need to know the value in case there are
|
# header, but we do need to know the value in case there are
|
||||||
|
|
Loading…
Reference in New Issue
Block a user