summaryrefslogtreecommitdiff
path: root/doc/ref/api-foreign.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-02-12 13:17:11 +0100
committerAndy Wingo <wingo@pobox.com>2012-02-12 13:29:19 +0100
commit164a78b355908d2149ef1ef266bec26d56b73365 (patch)
tree98c558ce7b058583230b23d298e58371b6d3c3c6 /doc/ref/api-foreign.texi
parent2263ccb53e6017cc89ccb69556a69d3ae7c2ff3b (diff)
downloadguile-164a78b355908d2149ef1ef266bec26d56b73365.tar.gz
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.
Diffstat (limited to 'doc/ref/api-foreign.texi')
0 files changed, 0 insertions, 0 deletions