On the first request you will always first get a 4...
# tornadofx
e
On the first request you will always first get a 401 and then hopefully 200 on the next attempt. That's how digest auth is designed.