El Miércoles, 14 de Octubre de 2009, Sanjeev BA escribió:
> T 2009/10/14 21:17:24.833815 10.254.140.202:34878 -> 10.89.10.235:80 [AP]
> GET
> /xcap-root/org.openmobilealliance.xcap-directory/users/sip%3Atester%40imsde
> m o.com/directory.xml HTTP/1.1.
> Host: 10.89.10.235:80.
> Content-length: 0.
> Connection: keep-alive.
> .
> 
> ##
> T 2009/10/14 21:17:24.835431 10.89.10.235:80 -> 10.254.140.202:34878 [AP]
> HTTP/1.1 401 Unauthorized.
> Date: Wed, 14 Oct 2009 12:17:24 GMT.
> Content-Length: 141.
> Content-Type: text/html.
> WWW-Authenticate: basic realm="imsdemo.com".
> Server: OpenXCAP/1.1.2.


Doesn't the client send a new GET request containing credentials after that 
401???

Note however that, theorically, XCAP doesn't allow Basic authentication, but 
just Digest. And some clients (as EyeBeam) just implements Digest.

If you client doesn't re-send the request with credentials upon receipt of 401 
then:
- Your XCAP client doesn't support Basic.
- You XCAP client doesn't like the 401 for any other reason.





-- 
Iñaki Baz Castillo <i...@aliax.net>

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to