httpbin
httpbin copied to clipboard
Setting for omitting 'qop' field in Digest response
I'm using httpbin as to unit test my client application.
My use case requires me to test behavior when the server doesn't include qop field in it's WWW-Authenticate header (supported by RFC 7616 for retro compatibility). Any way we can have an option for that? Like /digest-auth/none/user/pass
Then probably changing this line:
https://github.com/postmanlabs/httpbin/blob/f8ec666b4d1b654e4ff6aedd356f510dcac09f83/httpbin/helpers.py#L471
Instead of defaulting to auth, auth-in, you should not send the field at all.
Thanks for your effort!