Re: impact of move to http/1.0

Tony Sanders <sanders@bsdi.com>
Errors-To: sanders@bsdi.com
Errors-To: sanders@bsdi.com
Message-id: <9308251545.AA28413@austin.BSDI.COM>
To: www-talk@nxoc01.cern.ch
Subject: Re: impact of move to http/1.0 
In-Reply-To: Marc Andreessen's message of Wed, 25 Aug 93 02:25:01 CDT.
Errors-To: sanders@bsdi.com
Reply-To: sanders@bsdi.com
Organization: Berkeley Software Design, Inc.
Date: Wed, 25 Aug 1993 10:45:44 -0500
From: Tony Sanders <sanders@bsdi.com>
Status: RO
>     fields = sscanf(line_buffer, "%20s%d",
>                     server_version,
>                     &server_status);
Ugh!

> So.... does anyone have any other ideas on how to handle this
> situation?
Split the line on spaces and check the third field (if one exists)
and optionally make sure it says `HTTP/1.0'.

For example, here is my code from Plexus:
    local($method, $uri, $version, $waste) = split(" ", $_, 4);
    &parse_headers(*in_headers) if $version;

--sanders