      http://www.gethifi.com/blog/browser-rest-http-accept-headers"""
  
      def setUp(self):
          class MockResource(Resource):
              anon_allowed_methods = allowed_methods = ('GET',)
              def get(self, request):
                  return {'a':1, 'b':2, 'c':3}
          self.req = RequestFactory()
          self.MockResource = MockResource
          self.view = MockResource.as_view()
 
</s> remove     allowed_methods = ('POST',)

 </s> add  </s> remove     anon_allowed_methods = ('GET',)
 </s> add     permissions = () </s> remove             allowed_methods = anon_allowed_methods = ('POST',)
 </s> add             permissions = () </s> remove     def get_form(self, data=None):
        return None

 </s> add  </s> remove     allowed_methods = ('GET', 'POST')
 </s> add 
            permissions = ()

      http://www.gethifi.com/blog/browser-rest-http-accept-headers"""
  
      def setUp(self):
          class MockResource(Resource):
            permissions = ()

              def get(self, request):
                  return {'a':1, 'b':2, 'c':3}
          self.req = RequestFactory()
          self.MockResource = MockResource
          self.view = MockResource.as_view()
keep keep keep keep replace keep keep keep keep keep
 Generic permissions added, allowed_methods and anon_allowed_methods now defunct, dispatch now mirrors View.dispatch more nicely 
djangorestframework/tests/accept.py