gvalkov / tornado-http-auth

Digest and basic authentication for Tornado
Apache License 2.0
19 stars 12 forks source link

SendChallange when digest verification failed to retry auth. #4

Closed odg0318 closed 6 years ago

odg0318 commented 6 years ago

Hi. @gvalkov I think that it is better implementation that SendChallenge is called when header verification is failed with digest auth method. Otherwise, http status code is 500 and then web browser cannot prompt Callenge box anymore if login information is expired.

gvalkov commented 6 years ago

I see - that makes sense. Thanks!