[OpenSER-Devel] Authorization:[ ]-Header...

Weiter Leiter bp4mls at googlemail.com
Thu May 1 11:01:37 CEST 2008


25  Augmented BNF for the SIP Protocol:

Authorization     =  "Authorization" HCOLON credentials
HCOLON  =  *( SP / HTAB ) ":" SWS
SWS  =  [LWS] ; sep whitespace
LWS  =  [*WSP CRLF] 1*WSP ; linear whitespace

that renders the below example as illegal.

HTH.

On Wed, Apr 30, 2008 at 4:19 PM, Carsten Bock <lists at bock.info> wrote:

> Hi,
>
> i have a short question.
> I see some user-agents in the field, which send the Authorization-Header
> in the following format:
>
> Authorization:Digest
> username="00494012345",realm="sip.domain.de
> ",nonce="481875946aa956c4d2f643427a8efa81ffb31cec",uri="
> sip:00494012345 at sip.domain.de <sip%3A00494012345 at sip.domain.de>
> ",algorithm="MD5",response="bc7fea3b079c6670a92d2322738b21aa".
>
> However, is_present_hf("Authorization") gives a negative-result (Header
> not found), and pv_www_authorize returns -4, which should be
> "credentials were not found in request".
> Is the whitespace between header-name and header-value required or
> optional? I was not able to find a clear answer to this in the RFC...
> Any hints? Where is it described in the RFC?
>
> Thank you,
> Carsten
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>



-- 
"C is a language that combines all the elegance and power of assembly
language with all the readability and maintainability of assembly language."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20080501/e98116fc/attachment.htm 


More information about the Devel mailing list