          # merge with headers possibly set at some point in the view
          response.headers.update(self.headers)
  
          set_script_prefix(orig_prefix)
  
          return self.render(response)
  
      def options(self, request, *args, **kwargs):
          response_obj = {
              'name': get_name(self),
              'description': get_description(self),
 
</s> remove         # Always add these headers.
        #
        # TODO - this isn't actually the correct way to set the vary header,
        # also it's currently sub-optimal for HTTP caching - need to sort that out.
        response.headers['Allow'] = ', '.join(self.allowed_methods)
        response.headers['Vary'] = 'Authenticate, Accept'

        # merge with headers possibly set at some point in the view
        response.headers.update(self.headers)

 </s> add 
        return self.final(request, response)
          # merge with headers possibly set at some point in the view
          response.headers.update(self.headers)
  
          set_script_prefix(orig_prefix)
        return self.final(request, response)
        return self.final(request, response)
  
      def options(self, request, *args, **kwargs):
          response_obj = {
              'name': get_name(self),
              'description': get_description(self),
keep keep keep keep replace replace keep keep keep keep keep
 Introduce a final methods in View class 
djangorestframework/views.py