read-response-body always returns bytevector or #f
authorAndy Wingo <wingo@pobox.com>
Fri, 11 Jan 2013 10:30:29 +0000 (11:30 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 11 Jan 2013 14:15:43 +0000 (15:15 +0100)
commit2ac3c0a590ec93f40b2c1ce34bd24b83f1ae1a5d
tree16ce252e41baacd3d042e9e003caa43216728ab4
parent67e5ab8ac64dffe814e1ea3b08eeab679899b924
read-response-body always returns bytevector or #f

* module/web/response.scm (read-response-body): Fix to always return
  either a bytevector or #f.  Previously, reading a 0-length body could
  return the EOF object.
module/web/response.scm