diff options
author | Daniel Hartwig <mandyke@gmail.com> | 2011-11-23 20:56:10 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-11-23 23:35:20 +0100 |
commit | 69b8c5df14dbc1f9602925788507d371a529dfbe (patch) | |
tree | ead586df3bf373fd71ddef5bbe040ecf0bc09842 /test-suite/tests/web-http.test | |
parent | 2db1dbfe275986c4762d247209a02417818f62f8 (diff) | |
download | guile-69b8c5df14dbc1f9602925788507d371a529dfbe.tar.gz |
fix validators for various list-style headers
* module/web/http.scm (default-val-validator): Valid with no value.
(key-value-list?): Keys are always symbols, do not accept strings.
(validate-param-list): Apply `valid?' to list elements.
(validate-credentials): Validate param for Basic scheme, which
is parsed as a string.
(declare-symbol-list-header!): `list-of?' args were in wrong order.
("Cache-Control"): Replace `default-val-validator' with more
specific procedure.
("Accept"): Validate on first param which has no value.
Diffstat (limited to 'test-suite/tests/web-http.test')
0 files changed, 0 insertions, 0 deletions