flesh out (web server)'s sanitize-response
authorAndy Wingo <wingo@pobox.com>
Sat, 13 Nov 2010 17:31:34 +0000 (18:31 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 13 Nov 2010 17:31:34 +0000 (18:31 +0100)
commitd9f00c3db598955db75047aa805adf16a7bb2421
treeba5eb08d2ccaf47eaa92c672cc7c5784572d2d1a
parent3d9597799100171aee43cc02ca985fe35920a5c3
flesh out (web server)'s sanitize-response

* module/web/server.scm (sanitize-response): Flesh out. If we get a
  string, we encode it to a bytevector using the encoding snarfed from
  the response. We should check the request, though...
module/web/server.scm