Re: Grammar for User-Agent header
Henrik Frystyk Nielsen (frystyk@ptsun00.cern.ch)
Tue, 17 Jan 95 18:29:23 +0100
> 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
> 1.0.2.87 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?
Sounds fair - what about:
User-Agent = "User-Agent" ":" 1*( product )
product = token ["/" token]
-- cheers --
Henrik Frystyk
frystyk@W3.org
+ 41 22 767 8265
World-Wide Web Project,
CERN, CH-1211 Geneva 23,
Switzerland