W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1995

Grammar for User-Agent header

From: Eric W. Sink <eric@spyglass.com>
Date: Tue, 17 Jan 1995 11:39:32 -0600
Message-Id: <ab41af0f0b021004f88f@[]>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com

The grammar for the User-Agent header currently reads like this:

>       User-Agent      = "User-Agent" ":" 1*( product )
>       product         = token ["/" product-version]
>       product-version = 1*DIGIT "." 1*DIGIT

In my opinion, this is a bit too restrictive.  For example, all of the
following version numbers are illegal using this grammar.

1               simple integer, no minor rev
2.0a1           Apple standard format for an alpha release        Microsoft standard format

Other version numbering schemes may cause other problems.  May I suggest
that we not try to impose the format of the version number beyond saying
which characters we allow there?

Eric W. Sink, Senior Software Engineer --  eric@spyglass.com
                                           I don't speak for Spyglass.
Received on Tuesday, 17 January 1995 08:39:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:13 UTC