On 19 Jul 2005, at 10:56, Jan Schenkel wrote:
--- david bovill <[EMAIL PROTECTED]> wrote:
Looking into sending xmlrpc calls that require basic
http
authentication... any ideas as it is not documented
in the xmlrpc
create request, but is AFAIK part of the libUrl
stack... just can't
find any docs at the moment...
Hi David,
While you can follow Andre's suggestion to do it
directly, it is an excellent enhancement request, and
I suggest you feed it to bugzilla so it can be picked
up ine of the next releases of Revolution.
The way the current library works, you cannot set your
own httpHeaders and then call revXMLRPC_Execute, as
this replaces the httpHeaders with a set of its own
before calling the web service.
Hope this helped,
Jan Schenkel.
I'm not too sure how the revXMLRPC handlers make http requests, but
assuming they make use of liburl, you should be able to make use of
libUrlSetAuthCallback. There is an example in the online docs (url
below) of how to set this up for basic authentication:
http://support.runrev.com/resources/
liburlrealdocs.html#libUrlSetAuthCallback
It's not the easiest thing to set up, but once done, you can
basically forget about it.
Cheers
Dave
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution