      def get(self, request, **kwargs):
          return Response(DUMMYCONTENT, status=DUMMYSTATUS, content_type='setbyview')
  
  
  class HTMLView(APIView):
      renderer_classes = (BrowsableAPIRenderer, )
  
      def get(self, request, **kwargs):
 
</s>
class JSONView(APIView):
    parser_classes = (JSONParser,)

    def post(self, request, **kwargs):
        assert request.data
        return Response(DUMMYCONTENT)


      def get(self, request, **kwargs):
          return Response(DUMMYCONTENT, status=DUMMYSTATUS, content_type='setbyview')
  
  
class JSONView(APIView):
    parser_classes = (JSONParser,)

    def post(self, request, **kwargs):
        assert request.data
        return Response(DUMMYCONTENT)


  class HTMLView(APIView):
      renderer_classes = (BrowsableAPIRenderer, )
  
      def get(self, request, **kwargs):
keep keep keep add keep keep keep keep
 Add test to check if a 415 status is returned for unsupported media types
tests/test_response.py