From: Ralph Babel (rbabel@babylon.pfm-mainz.de)
Date: Sun Oct 03 1999 - 07:36:32 CDT
Charles Lindsey wrote:
> ["User-Agent" header and proposed changes]
>
> Well, for a start, HTML and Usenet headers
> use different character sets,
"User-Agent" is unrelated to HTML,
and HTML doesn't have "headers".
> and Usenet headers have different conventions
> as ragards various punctuation symbols, etc.
Let's assume you meant "HTTP headers". With the exception
of "TEXT" being ISO-8859-1 by default instead of UTF-8,
how does a "User-Agent" header that conforms to the
syntax of RFC 2616 conflict with "our" proposed standard?
| User-Agent = "User-Agent" ":" 1*( product | comment )
| product = token ["/" product-version]
| token = 1*<any CHAR except CTLs or separators>
| CHAR = <any US-ASCII character (octets 0 - 127)>
| CTL = <any US-ASCII control character
| (octets 0 - 31) and DEL (127)>
| separators = "(" | ")" | "<" | ">" | "@"
| | "," | ";" | ":" | "\" | <">
| | "/" | "[" | "]" | "?" | "="
| | "{" | "}" | SP | HT
| SP = <US-ASCII SP, space (32)>
| HT = <US-ASCII HT, horizontal-tab (9)>
| product-version = token
| comment = "(" *( ctext | quoted-pair | comment ) ")"
| ctext = <any TEXT excluding "(" and ")">
| TEXT = <any OCTET except CTLs, but including LWS>
| OCTET = <any 8-bit sequence of data>
| LWS = [CRLF] 1*( SP | HT )
| quoted-pair = "\" CHAR