> -----Original Message-----
> From: Manish Ramesh K [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 4:44 AM
> To: [EMAIL PROTECTED]
> Subject: [Sip-implementors] (no subject)
>
>
> hi all,
> i have a doubt in the Accept Header,the Accept header
> contains the media types and the their parameters the client
> wishes the receive the data type(ex:text/html).Now the
> rfc-2543 says that the asbence of accept header indicates the
> client accepts any data type.
No, it doesn't say this at all. RFC2543 (and bis) clearly state:
The Accept header follows the syntax defined in [H14.1]. The
semantics are also identical, with the exception that if no Accept
header is present, the server SHOULD assume a default value of
application/sdp.
I'm not sure where you have gotten the impression that it says you need to
support any data type. If it does say that somewhere, please let me know and
I will fix it.
if the Accept field value is not
> specified what does that mean?
As it says above, it means the client understands application/sdp.
> What does Accept: in a message mean?Are both the same?.
> bye
> Manish.
Accept: with no value means the client accepts NO data types. It is
therefore not the same as the absence of Accept, which implies that the
default, application/sdp, is supported.
I will add some text to bis that talks about an empty Accept value, since it
does not say this explicitly.
-Jonathan R.
---
Jonathan D. Rosenberg, Ph.D. 72 Eagle Rock Ave.
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
[EMAIL PROTECTED] FAX: (973) 952-5050
http://www.jdrosen.net PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors