[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Sip] Conflict in Accept header grammer
Correct - essentially, the parser *can't* generically tell the difference between a generic-param and m-parameter. The handling of the generic-param or m-paramter is specific to the given media-range information.
- rob
-----Original Message-----
From: Tom-PT Taylor [mailto:taylor@nortelnetworks.com]
Sent: Friday, October 25, 2002 6:52 AM
To: 'lakshmi'; sip@ietf.org
Cc: Jonathan Rosenberg
Subject: RE: [Sip] Conflict in Accept header grammer
Don't know if this helps, but m-parameters are attributes registered along
with the MIME type definitions, hence in theory can be known in advance once
the media types have been decoded.
-----Original Message-----
From: lakshmi [mailto:lakshmi@ipgen-india.com]
Sent: Friday, October 25, 2002 7:36 PM
To: sip@ietf.org
Cc: Jonathan Rosenberg
Subject: [Sip] Conflict in Accept header grammer
All,
Accept Header syntax is like this
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
generic-param = token [ EQUAL gen-value ]
gen-value = token / host / quoted-string
m-parameter = m-attribute EQUAL m-value
m-attribute = token
m-value = token / quoted-string
Here how to distinguish b/w the m-parameter in media-range and generic-param
in accept-param.
Thanks,
lakshmi
_______________________________________________
Sip mailing list https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip
_______________________________________________
Sip mailing list https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip