Are there any known issues with basic-authorization? I'm using the same username and password with drakma:http-request that works with curl's -u argument, but I'm getting a response of "Authorization required." I tried passing the username and password via the url (https://username:password@www.example.com ), but Drakma rejected the format because it expected a port number after the colon.
Anyone else run into this?
Thanks,
Patrick
On 18 Jun 2009, at 07:33, Patrick May wrote:
Are there any known issues with basic-authorization? I'm using the same username and password with drakma:http-request that works with curl's -u argument, but I'm getting a response of "Authorization required." I tried passing the username and password via the url (https://username:password@www.example.com ), but Drakma rejected the format because it expected a port number after the colon.
I have resolved the problem by fixing my bloody code. That is, the original authorization issue did not lie with drakma. Just as one should not first look for flaws in the compiler or operating system, one cannot reasonably suggest that a bug's root cause lies in a Weitz library.
Regards,
Patrick