code: def resp_set_location(self, resp, location=None):
          
          if location:
              self.location=location
          elif resp:
              self.location=resp.label.decode().replace("\x00", "")
docs: Default callback for get_location/set_location