Subject: [Sip] Accept header accept-param m-parameter ambiguity question

From: Jasson Casey <[email-masked]>
Date: Fri, 11 Feb 2005 11:19:23 -0600

Is there an ambiguity between "*(SEMI accept-param)" and "*(SEMI
m-parameter)" on page 227 of 3261. Could someone explain how you could
tell the difference between a accept-param and m-parameter in a
Accept: header for a SIP message?

ABNF cut&pasted from 25.1
Accept         =  "Accept" HCOLON [ accept-range *(COMMA accept-range) ]
accept-range   =  media-range *(SEMI accept-param)
media-range    =  ( "*/*" / ( m-type SLASH "*" ) / ( m-type SLASH m-subtype )
                  ) *( SEMI m-parameter )
accept-param =  ("q" EQUAL qvalue) / generic-param
m-parameter  =  m-attribute EQUAL m-value
m-attribute     =  token
m-value          =  token / quoted-string
generic-param  =  token [ EQUAL gen-value ]
gen-value      =  token / host / quoted-string

I don't see how the following header could parse properly.
Accept: */*;mparametername=mparametervalue;acceptparamname=acceptparamvalue

thanks,

-jasson

_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use [email-masked] for questions on current sip
Use [email-masked] for new developments on the application of sip