不论是 Basic Auth 还是 Digest Auth,都会有 Authorization 字段

来源:互联网 发布:网络名字最有独特性的 编辑:程序博客网 时间:2024/06/05 18:12
GET /dir/index.html HTTP/1.0Host: localhostAuthorization: Digest username="Mufasa",                     realm="testrealm@host.com",                     nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",                     uri="/dir/index.html",                     qop=auth,                     nc=00000001,                     cnonce="0a4f113b",                     response="6629fae49393a05397450978507c4ef1",                     opaque="5ccc069c403ebaf9f0171e9517f40e41"

RFC2617


http://www.ietf.org/rfc/rfc2617.txt


https://en.wikipedia.org/wiki/Digest_access_authentication