'Python HTTP server supporting digest auth without session cookies

To support some really 3rd-party (and strange) client I need to serve info via http-digest auth, but without session-cookie mechanism. By default, flask_httpauth HTTPDigestAuth module working via session-cookies.

What would be the most easy way to avoid using sessions and just use digest-flow for authentication?

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source