code: async def _auth_handler_post_check_retry(self, response_obj):
          '''
          The other half of _auth_handler_post_check_retry (what a mouthful).
          If auth has not yet been attempted and the most recent response
          object is a 401, we store that response object and retry the request
          in exactly the same manner as before except with the correct auth.
  
          If it fails a second time, we simply return the failed response.
          '''
          if isinstance(self.auth, PostResponseAuth):
              if response_obj.status_code == 401:
                  if not self.auth.auth_attempted:
                      self.history_objects.append(response_obj)
                      _, r = await self.make_request()
                      self.auth.auth_attempted = False
                      return r
                  else:
                      response_obj.history = self.history_objects
                      return response_obj
          return response_obync def _auth_handler_post_check_retry(self, response_obj):
          '''
          The other half of _auth_handler_post_check_retry (what a mouthful).
          If auth has not yet been attempted and the most recent response
          object is a 401, we store that response object and retry the request
          in exactly the same manner as before except with the correct auth.
  
          If it fails a second time, we simply return the failed response.
          '''
          if isinstance(self.auth, PostResponseAuth):
              if response_obj.status_code == 401:
                  if not self.auth.auth_attempted:
                      self.history_objects.append(response_obj)
                      _, r = await self.make_request()
                      self.auth.auth_attempted = False
                      return r
                  else:
                      response_obj.history = self.history_objects
                      return response_obj
          return response_obj
docs: The other half of _auth_handler_post_check_retry (what a mouthful).
          If auth has not yet been attempted and the most recent response
          object is a 401, we store that response object and retry the request
          in exactly the same manner as before except with the correct auth.
  
          If it fails a second time, we simply return the failed response.