fix up a couple content-length issues in web/server.scm:sanitize-response
authorAndy Wingo <wingo@pobox.com>
Mon, 22 Nov 2010 22:58:24 +0000 (23:58 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 22 Nov 2010 22:58:24 +0000 (23:58 +0100)
commita4342ba82655deecc8c001d7f457ebe8db01354e
tree80f5dcfeeb80001e39849df26db23b693e52691a
parent015a4aaedb9e8dd839b481bc83ac5b9f88e63a81
fix up a couple content-length issues in web/server.scm:sanitize-response

* module/web/server.scm (sanitize-response): Allow body to be #f. Don't
  require or insert a content-length if there is no body.
module/web/server.scm