1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module/web
Daniel Hartwig 69b8c5df14 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.
2011-11-23 23:35:20 +01:00
..
server (web response) and (web request): bodies are bytevectors 2011-01-10 22:44:36 -08:00
client.scm open-socket-for-url returns port in latin1 encoding 2011-07-21 09:42:20 +02:00
http.scm fix validators for various list-style headers 2011-11-23 23:35:20 +01:00
request.scm ensure presence of Host header in HTTP/1.1 requests 2011-07-15 13:36:52 +02:00
response.scm core modules use (ice-9 binary-ports) instead of (rnrs io ports) 2011-02-18 16:01:25 +01:00
server.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
uri.scm web server more assiduous about closing ports 2011-02-24 11:10:49 +01:00