Function

Soup-3.0Soupheaders_parse_status_line

  • Parses the HTTP Status-Line string in status_line into ver, status_code, and reason_phrase.

    status_line must be terminated by either "\0" or "\r\n".

    Parameters

    • status_line: string

      an HTTP Status-Line

    Returns [boolean, Soup.HTTPVersion, number, string]

    true if status_line was parsed successfully.