1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-24 13:30:21 +02:00
guile/module/web
Andy Wingo 164a78b355 web server: do not provide a response body where it is not permitted
* module/web/response.scm (response-must-not-include-body?): New
  function.

* doc/ref/web.texi: Doc the function.

* module/web/server.scm (sanitize-response): Error if we have a body,
  but the response type does not permit a body.  If we are responding to
  a HEAD request, silently drop the body.
2012-02-12 13:29:19 +01:00
..
server (web response) and (web request): bodies are bytevectors 2011-01-10 22:44:36 -08:00
client.scm Update a comment in (web client) 2011-12-06 11:46:58 +01:00
http.scm Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
request.scm Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
response.scm web server: do not provide a response body where it is not permitted 2012-02-12 13:29:19 +01:00
server.scm web server: do not provide a response body where it is not permitted 2012-02-12 13:29:19 +01:00
uri.scm allow URIs of the form file:///etc/hosts 2011-12-06 11:47:41 +01:00