[xml] Accessing the WWW-Authorization header

Date view Thread view Subject view Author view

From: Wayne Davison (wayned@users.sourceforge.net)
Date: Sat Nov 04 2000 - 16:59:49 EST


The attached patch adds a new item to the end of the xmlNanoHTTPCtxt
structure that holds the WWW-Authorization or Proxy-Authorization
header contents. I also added the function xmlNanoHTTPAuthHeader() to
fetch this value from the void ctxt pointer.

With these changes it is now possible to find out what "realm" the 401 or
407 error is in, making it possible to leverage password information for
common realms (on the same site, of course).

..wayne..


----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Nov 04 2000 - 17:43:26 EST