W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1996

v11-03 COMMENT: 18.1 Accept

From: Dave Kristol <dmk@allegra.att.com>
Date: Mon, 13 May 96 12:27:11 EDT
Message-Id: <9605131627.AA09418@zp.tempo.att.com.tempo.att.com>
To: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Two questions about the grammar.

       Accept         = "Accept" ":" #(
                             media-range
                             [ ( ":" | ";" 
                               range-parameter
                               *( ";" range-parameter ) ]
                            | extension-token )


1) Should that be *( (":" | ";") range-parameter ) ?
2) Is <extension-token> really useful?  Isn't it syntactically ambiguous?
(Okay, okay, so it's LR(1).  That's messy, if not unprecedented.)

It would be nice to have an example that shows both parameters and
range-parameters, such as:
	text/html; level=1: q=0.9, text/html; level=2: q=1.0

Dave Kristol
Received on Monday, 13 May 1996 09:36:02 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:31:59 EDT