docs: def _set_next_host_location(self, context):
          '''
          A function which sets the next host location on the request, if applicable. 
  
          :param ~azure.storage.models.RetryContext context: 
              The retry context containing the previous host location and the request 
              to evaluate and possibly modify.
          '''
          if len(context.request.host_locations) > 1:
              # If there's more than one possible location, retry to the alternative
              if context.location_mode == LocationMode.PRIMARY:
                  context.location_mode = LocationMode.SECONDARY
              else:
                  context.location_mode = LocationMode.PRIMARY
  
              context.request.host = context.request.host_locations.get(context.location_mode)