1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 22:40:34 +02:00

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
parent 35b97af9d6
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)))