              self.auth = api_settings.UNAUTHENTICATED_TOKEN()
          else:
              self.auth = None
  
      def __getattribute__(self, attr):
          """
          If an attribute does not exist on this instance, then we also attempt
          to proxy it to the underlying HttpRequest object.
          """
          try:
 
</s> remove             info = sys.exc_info()
            try:
                return getattr(self._request, attr)
            except AttributeError:
                six.reraise(info[0], info[1], info[2].tb_next)
 </s> add             return self.__getattribute__(attr) </s> remove             return super(Request, self).__getattribute__(attr)
 </s> add             return getattr(self._request, attr) </s> remove import sys

 </s> add 
    def __getattr__(self, attr):
              self.auth = api_settings.UNAUTHENTICATED_TOKEN()
          else:
              self.auth = None
  
    def __getattr__(self, attr):
          """
          If an attribute does not exist on this instance, then we also attempt
          to proxy it to the underlying HttpRequest object.
          """
          try:
keep keep keep keep replace keep keep keep keep keep
 Reimplement request attribute access w/ __getattr__ (#5617)

* Add tests for proxying WSGIRequest attributes in Request.

* Add request attribute exception test

* Reimplement request attribute access 
rest_framework/request.py