Write out HTTP Basic auth headers correctly.
authorMark H Weaver <mhw@netris.org>
Tue, 21 Jan 2014 20:50:58 +0000 (15:50 -0500)
committerMark H Weaver <mhw@netris.org>
Tue, 21 Jan 2014 21:11:04 +0000 (16:11 -0500)
commitd0d8c872afcc0e3384389171ceb32dc26df8c8a6
tree078bdf7afabe4fb5d2bb642938ed67d87956960f
parent6f4cc6a31eaf9a55730e85a096846caaf5a940fc
Write out HTTP Basic auth headers correctly.

Fixes <http://bugs.gnu.org/14370>.
Reported by Atom X Zane <atomx@deadlyhead.com>.

* module/web/http.scm (write-credentials): Handle the Basic auth scheme
  correctly.

* test-suite/tests/web-http.test (pass-if-round-trip): Use
  'pass-if-equal' for better error reporting.
  ("request headers"): Add tests.

* THANKS: Add "Atom X Zane" to bug fix section.
THANKS
module/web/http.scm
test-suite/tests/web-http.test