#NEWLINE# def test_content_type_set_explicitly_on_response( self ) : #NEWLINE# #INDENT# '\n        The content type may be set explicitly on the response.\n        ' #NEWLINE# headers = { #NEWLINE# #INDENT# 'HTTP_ACCEPT' : RendererC . media_type , #NEWLINE# #UNINDENT# } #NEWLINE# resp = self . client . get ( '/setbyview' , ** self ) #NEWLINE# self . assertEqual ( 'setbyview' , resp [ 'Content-Type' ] )