Rejecting the request would be ok.
If you are trying to minimize failure cases then ignoring this might
give you a chance for the message to work. IMO the header with no value
is plausibly the same as no header, even though it is a syntax violation.
If you ignore, and there is no body, then all should be fine.
If you ignore and there is a body then you will want to assume the
default type, which depends on the message. For INVITE, etc. this is
application/sdp.
Thanks,
Paul
On 3/15/12 11:11 AM, Worley, Dale R (Dale) wrote:
> As others have said, the header is syntactically incorrect, which
> would suggest a 400 error.
>
> As a fallback, you could simply ignore the header, which leads to several
> alternative strategies. But given that the sending device clearly has an
> error, it is
> probably best to cause the communications to fail and force the other UA's
> user to debug it.
>
> Dale
>
> ________________________________________
> From: [email protected]
> [[email protected]] On Behalf Of manju nath
> [[email protected]]
> Sent: Thursday, March 15, 2012 8:43 AM
> To: [email protected]
> Subject: [Sip-implementors] INVITE request with no value in Content type
> header
>
> 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????
>
> --
> *Thanks& Regards,*
> *Manjunath.jootoor.*
> _______________________________________________
> 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
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors