http server impl reads body as a bytevector by default

* module/web/server/http.scm (http-read): Read body as a bytevector by
  default. That way we punt encoding issues to the app.
This commit is contained in:
Andy Wingo 2010-12-03 17:37:22 +01:00
commit 80993fa438

View file

@ -110,7 +110,7 @@
(setvbuf port _IOFBF)
(values port
req
(read-request-body/latin-1 req))))))))))))
(read-request-body/bytevector req))))))))))))
(define (keep-alive? response)
(let ((v (response-version response)))