parse credentials and challenges
authorAndy Wingo <wingo@pobox.com>
Mon, 10 Jan 2011 16:20:29 +0000 (08:20 -0800)
committerAndy Wingo <wingo@pobox.com>
Mon, 10 Jan 2011 17:31:29 +0000 (09:31 -0800)
commitecfb7167cbc239a4b4f11cb8287e8116c2760cff
treec6eff829dfa7e61ce5c0bdd288535e5358120177
parent94f16a5b8f51af91e273f9886e8ffa54eb3bd9c0
parse credentials and challenges

* module/web/http.scm (parse-credentials, validate-credentials)
  (write-credentials, parse-challenge, parse-challenges)
  (validate-challenges, write-challenge, write-challenges)
  (declare-credentials-header!, declare-challenge-list-header!): New
  helpers.
  ("Authorization", "Proxy-Authorization"): Parse out credentials.
  ("Proxy-Authenticate", "WWW-Authenticate"): Parse out challenges.
module/web/http.scm
test-suite/tests/web-http.test