I tried to override a server with Digest authentication.
(In this way)
The Digest server requires a counter to increase for each connection, this to distinguish the various requests.
(DigestHash = MD5(HA1:nonce:nonceCount:cnonce:qop:HA2))
But in HttpJob, this counter does not increment, and therefore accesses correctly at the first access, in the following some servers refuse the connection ..
How to fix it?
(In this way)
B4X:
Dim job As HttpJob
job.Initialize("testhtaccess",Me)
job.Username = "Star"
job.Password = "Dust"
job.Download("http:/192.168.1.101/")
(DigestHash = MD5(HA1:nonce:nonceCount:cnonce:qop:HA2))
But in HttpJob, this counter does not increment, and therefore accesses correctly at the first access, in the following some servers refuse the connection ..
How to fix it?
Digest access authentication - Wikipedia
en.wikipedia.org