On 15/03/2012 12:43, manju nath wrote: > HI, > > what should be the behaviour of UAS if it receives an INVITE request > with Content-Type header with no value as shown > > Content-Type: > > what should be the response that UAS has to give 400 or 415???? >
The ABNF in RFC 3261 section 25 does not allow for the Content-Type to be empty. When the message fails to pass the parsing, 400 is a good answer. 415 would imply that you started to look at the meaning of the header, which you can't do, if it is syntactically incorrect. _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
