I’m writing docs for the Digest and Want-Digest HTTP headers:
-
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest
-
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest
Briefly:
-
a client includes
Want-Digest
in a request to ask the server to provide a digest of the requested resource. -
server includes
Digest
in a response to convey a digest of the requested resource to the client.
One of the things I am supposed to do here is add BCD. But:
-
I’m not sure how to find out which browsers support it, because it depends on server support as well. So I can add
Want-Digest
to a request using the devtools (and I see it in the request), but I still won’t get a digest back unless the server is configured to support it. I wondered if httpbin.org might help here but it doesn’t seem to. -
The standard doesn’t say anything about when a browser should include
Want-Digest
, or what the browser should do with aDigest
response. I guess this is a matter for the application? So I’m not very clear on what “browser support” really means in cases like this.