[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sip] A simple query...



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.
 
Regards,
-------------------------------------------
Nataraju A.B.
Huawei Technologies India Pvt. Ltd.,
Tel : +91-80-5216824/6/7 Xtn 142
-------------------------------------------
----- Original Message -----
Sent: Tuesday, 31 December 2002 20-06
Subject: Re: [Sip] A simple query...

inline.

Nataraju A.B. wrote:
> Hi,
> I have a query regarding the server/user-agent coding format:
> The ABNF encoding specifies it as :

> Server           =  "Server" HCOLON server-val *(LWS server-val)
> server-val       =  product / comment
> product          =  token [SLASH product-version]
> product-version  =  token

> whereas teh SIP-rfc says it should be
>  Server: HomeServer v2
> CanI know the correct format to be used.

The above is just an example of the server header. It is a valid value
according to the BNF, since the BNF allows a series of lws-separated
tokens, without any slashes. Thus, either of these is valid:

Server: HomeServer v2
Server: HomeServer/v2



> If the SIP format is to be used then is it product version is a
> mandatory argument.

Version is not mandatory according to the BNF.

-Jonathan R.
--
Jonathan D. Rosenberg, Ph.D.                72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
jdrosen@dynamicsoft.com                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com

_______________________________________________
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