                      manager.through(**data).save()
  
          headers = {}
          if hasattr(instance, 'get_absolute_url'):
              headers['Location'] = self.resource(self).url(instance)
          return Response(status.HTTP_201_CREATED, instance, headers)
  
  
  class UpdateModelMixin(ModelMixin):
      """
      Behavior to update a `model` instance on PUT requests
 
</s> remove         headers = {}
 </s> add         response = Response(instance, status=status.HTTP_201_CREATED)

        # Set headers </s> remove         return self.model_instance
 </s> add         return Response(self.model_instance) </s> remove         return
 </s> add         return Response() </s> remove         self.headers = {}
 </s> add 
            response['Location'] = self.resource(self).url(instance)
        return response
                      manager.through(**data).save()
  
          headers = {}
          if hasattr(instance, 'get_absolute_url'):
            response['Location'] = self.resource(self).url(instance)
        return response
            response['Location'] = self.resource(self).url(instance)
        return response
  
  
  class UpdateModelMixin(ModelMixin):
      """
      Behavior to update a `model` instance on PUT requests
keep keep keep keep replace replace keep keep keep keep keep
 Response as a subclass of HttpResponse - first draft, not quite there yet. 
djangorestframework/mixins.py