This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=eec3a50867086782a01286b742ee43f9fd47ecba The branch, stable-2.0 has been updated via eec3a50867086782a01286b742ee43f9fd47ecba (commit) from 7cc8ef6235f65db9642ad95b83bf90d043d5395b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit eec3a50867086782a01286b742ee43f9fd47ecba Author: Andy Wingo <[email protected]> Date: Tue Feb 14 17:32:16 2012 +0100 web server: fix spurious warning * module/web/server.scm (sanitize-response): Quick fix to the 304-has-no-body sanitizer. ----------------------------------------------------------------------- Summary of changes: module/web/server.scm | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/module/web/server.scm b/module/web/server.scm index 5fc081c..42887e6 100644 --- a/module/web/server.scm +++ b/module/web/server.scm @@ -264,7 +264,9 @@ on the procedure being called at any particular time." (call-with-encoded-output-string charset body)))) ((not (bytevector? body)) (error "unexpected body type")) - ((response-must-not-include-body? response) + ((and (response-must-not-include-body? response) + body + (not (zero? (bytevector-length body)))) (error "response with this status code must not include body" response)) (else ;; check length; assert type; add other required fields? hooks/post-receive -- GNU Guile
