-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi, thank you for this library!
I tried to access an API using digest authentication.
This works:
curl --digest -u "user:pass" http://localhost/private/test.txtThis does not work:
curlGetString "http://localhost/private/test.txt" [CurlHttpAuth [HttpAuthDigest], CurlHeader True, CurlUserName "user", CurlUserPassword "pass"]The output suggests that only one request is done.
(CurlHttpReturnedError,"HTTP/2 401 \r\ndate: Thu, 15 Dec 2022 22:56:03 GMT\r\ncontent-type: application/json; charset=UTF-8\r\ncontent-length: 152\r\nserver: nginx/1.14.0 (Ubuntu)\r\nwww-authenticate: Digest realm=\"Xentral-API\",qop=\"auth\",nonce=\"602d44f9a3a6ee1f52fadxxxxxx\",opaque=\"533118e447c76f15f7axxxxxxx\"\r\nstrict-transport-security: max-age=31536000; includeSubDomains\r\nx-frame-options: SAMEORIGIN\r\n\r\n")
But the command line curl -vv suggests that for digest auth a follow-up request is made. Maybe that follow up is not implemented? Any ideas on this?
Metadata
Metadata
Assignees
Labels
No labels