[Gambas-user] HTTP Client - Authentication Method Missing?

Claus Dietrich claus.dietrich at freenet.de
Sun Apr 11 13:48:11 CEST 2021


With following cli SOAP request I can retrieve the url for the phonebook
from my fritzbox:

curl -k -m 5 --anyauth -u <user>:<password> ' http://....'

Trying to replicate this with Gambas code by using a HttpClient failed.
The parent curl class provides the const Net.AuthAny, but it seems not
to be supported by the HttpClient. The program throws an error if I try
to use it as auth-property and the wiki only lists Net.AuthNone,
Net.AuthBasic and net.AuthNTLM as allowed authentication methods.

Are there reason that this authentication method is missing or was it
possibly forgotten?

Regards

Claus

 




More information about the User mailing list