Refer to RFC 2045, Section 5.1

content := "Content-Type" ":" type "/" subtype
                *(";" parameter)
                ; Matching of media type and subtype
                ; is ALWAYS case-insensitive.

The type, subtype, and parameter names are not case sensitive.  For
   example, TEXT, Text, and TeXt are all equivalent top-level media
   types.  Parameter values are normally case sensitive, but sometimes
   are interpreted in a case-insensitive fashion, depending on the
   intended use.  (For example, multipart boundaries are case-sensitive,
   but the "access-type" parameter for message/External-body is not
   case-sensitive.)

  type :=          "application"     / "audio"
               / "image"           / "message"
               / "multipart"  / "text"
               / "video"           / extension-token
               ; All values case-insensitive

Since type & subtype are not case sensitive, so the below mentioned header
is fine.

Regards,
Gaurav

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:sip-implementors-
> [EMAIL PROTECTED] On Behalf Of Sigrid Thijs
> Sent: Monday, May 07, 2007 2:40 PM
> To: [email protected]
> Subject: [Sip-implementors] media type case sensitivity
> 
> Hi,
> 
> are media types case sensitive? For example should an application be
> able to receive a request with Content-Type header value
> "application/SDP", or should this be rejected with a "415 Unsupported
> Media Type" response?
> 
> kind regards,
> 
> Sigrid
> 
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to