2009/5/13 Pascal Maugeri <[email protected]>: > Hi > > We had to modify our SIP client to connect to Asterisk because it was > putting a space character at the end of the WWW-Authenticate field value: > > our client was sending: > WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="11cf20a3" > [SPACE][CRLF] > instead of: > WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", > nonce="11cf20a3"[CRLF] > > In the first case the server doesn't accept the credentials and replies with > "401 unauthorized" > > I'm just wondering if this is a client bug or a server bug ? RFC3261 is not > that clear in my opinion.
It's incorrect, a space cannot appear at the end of WWW-Authenticate header. My 100% strict SIP parser says that :) -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
