cURL / Mailing Lists / curl-library / Single Mail

curl-library

Incorrect Digest Username with Diegst Auth

From: sumit gambhir <sumitgambhir9_at_gmail.com>
Date: Thu, 11 Apr 2013 11:33:06 +0530

Hi,

I am running command line tool of Curl and made a GET request with Digest
Authentication.

Digest Username : - sip:alice_at_example.com
Digest Password : - password

curl.exe --digest -u sip:alice_at_example.com:password
http://system:8080/resource-lists/users/sip:alice@example.com/index--header
x-3gpp-intended-identity:sip:alice_at_example.com --verbose

* About to connect() to system port 8080 (#0)
* Trying system...
* Connected to system (system) port 8080 (#0)
* Server auth using Digest with user 'sip'
> GET resource-lists/users/sip:alice_at_example.com/index HT
TP/1.1

The command line is only taking "sip" as username due to : in username.
Is there any mechanism to make it work with current username only?

Thanks and Regards,
Sumit Gambhir

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-11