inline.
Nataraju A.B. wrote:
Hi,
Server = "Server" HCOLON server-val *(LWS server-val)
server-val = product / comment
product = token [SLASH product-version]
product-version = token
both product and product version are of type tokens.
if two tokes are in the input what should be considered. I mean
product an dprod version OR two product values.
for ex : Server: *HomeServer HS v2*
in this case HS is prod version or product2.
Its a second product. Version requires a slash. As a result, the example
in the SIP spec which you quoted would have v2 parse as a product, not a
version. Thats fine. This field is only useful for display to humans or
for string comparison, in which case it doesnt matter whether the "v2"
is interpreted as a product version or a product.
-Jonathan R.