[SIPForum-discussion] CASE SENSITIVE

Donald Lee baolovebao at gmail.com
Thu May 8 02:56:47 UTC 2008


comes from RFC3261 section 7.3.1:

      When comparing header fields, field names are always case-
   insensitive.  Unless otherwise stated in the definition of a
   particular header field, field values, parameter names, and parameter
   values are case-insensitive.  Tokens are always case-insensitive.
   Unless specified otherwise, values expressed as quoted strings are
   case-sensitive.  For example,

      Contact: <sip:alice at atlanta.com <sip%3Aalice at atlanta.com>
>;expires=3600

   is equivalent to

      CONTACT: <sip:alice at atlanta.com <sip%3Aalice at atlanta.com>
>;ExPiReS=3600

   and

      Content-Disposition: session;handling=optional

   is equivalent to

      content-disposition: Session;HANDLING=OPTIONAL



On 5/8/08, 杨伟 <shyw13 at gmail.com> wrote:
>
> sip message is not case sensitive
>
> 2008/5/7, kanumuri Sreeram <skanumury at yahoo.com>:
> >
> >   Hi Jigar,
> >
> >
> >
> > Content-type: application/sdp  and
> >
> > Content-type: application/SDP
> >
> > Both are same.
> >
> >
> >
> > Refer  RFC 2045, Section 5.1
> >
> > content := "Content-Type" ":" type "/" subtype
> >                 *(";" parameter)
> >                 ; Matching of media type and subtype
> >                 ; is ALWAYS case-insensitive.
> >
> > I can see as content , not as content-type. may be that is the problem.
> >
> >
> >
> > HTH,
> >
> > Sreeram
> >
> >
> > ----- Original Message ----
> > From: Jigar Dani <jigar.dani at dialogic.com>
> > To: discussion at sipforum.org; mmusic at ietf.org
> > Sent: Wednesday, May 7, 2008 10:38:22 AM
> > Subject: [SIPForum-discussion] CASE SENSITIVE
> >
> >  Hi,
> >
> >
> >
> > One of my interop issues is failing, because of the Content:
> > application/sdp line in the SIP header. What I get is Content:
> > application/SDP. Is this allowed? Does it matter?
> >
> >
> >
> > Thanks & Regards,
> >
> > Jigar
> >
> >
> >
> > ------------------------------
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> > it now.<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ>
> >
> > _______________________________________________
> > This is the SIP Forum discussion mailing list
> > TO UNSUBSCRIBE, or edit your delivery options, please visit
> > http://sipforum.org/mailman/listinfo/discussion
> > Post to the list at discussion at sipforum.org
> >
> >
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>


-- 
BR
Donald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20080508/bb21cc02/attachment-0014.html>


More information about the discussion mailing list