code: def split_status(status):
          
  
          # If the status is an integer, then lookup the reason text
          if isinstance(status, int):
              return (status, RequestMockCallable.get_reason_for_status(
                  status))
  
          # otherwise, ensure it is a string and try to split it based on the
          # standard HTTP status and reason text format
          elif isinstance(status, str) or isinstance(status, bytes):
              code, reason = status.split(' ', 1)
              return (code, reason)
  
          # otherwise, return with a default reason code
          else:
              return (status, 'Unknown')
docs: Split a HTTP Status and Reason code string into a tuple.
  
          :param status string containing the status and reason text or
                               the integer of the status code
  
          :returns: tuple - (int, string) containing the integer status code
                            and reason text string