diff options
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/web.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ref/web.texi b/doc/ref/web.texi index 81c77dd0b..8bb99e21f 100644 --- a/doc/ref/web.texi +++ b/doc/ref/web.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 2010, 2011 Free Software Foundation, Inc. +@c Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @node Web @@ -1235,6 +1235,14 @@ Return a new response, whose @code{response-port} will continue writing on @var{port}, perhaps using some transfer encoding. @end deffn +@deffn {Scheme Procedure} response-must-not-include-body? r +Some responses, like those with status code 304, are specified as never +having bodies. This predicate returns @code{#t} for those responses. + +Note also, though, that responses to @code{HEAD} requests must also not +have a body. +@end deffn + @deffn {Scheme Procedure} read-response-body r Read the response body from @var{r}, as a bytevector. Returns @code{#f} if there was no response body. |