Tweak media_type -> accepted_media_type. Need to document, but marginally less confusing

This commit is contained in:
Tom Christie 2012-09-21 13:16:08 +01:00
parent 3f7371c796
commit 064e1ba91f

View File

@ -24,7 +24,7 @@ class Response(SimpleTemplateResponse):
# Accepted media type is the portion of the request Accept header
# 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'
# header, but we do need to know the value in case there are