From 630c77d83f8e1d2933aaf70890321ec40d65e945 Mon Sep 17 00:00:00 2001 From: vibr Date: Fri, 15 Apr 2005 15:50:30 +0000 Subject: [PATCH] syntax of comma separated list which is the field value of the Transfer-Encoding header: needs a single SP less --- scheme/httpd/handler-lib.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scheme/httpd/handler-lib.scm b/scheme/httpd/handler-lib.scm index 37affd5..1289101 100644 --- a/scheme/httpd/handler-lib.scm +++ b/scheme/httpd/handler-lib.scm @@ -77,11 +77,11 @@ (if (not field-value) #f - ; the field value is a list of transfer-codings (3.6), + ; the field value is a comma-separated list of transfer-codings (3.6), ; extract the last transfer-coding in the list (let* ((reversed-field-value (string-reverse field-value)) (index ; does the list contain more than one element? - (string-contains reversed-field-value " , ")) + (string-contains reversed-field-value " ,")) (last-transfer-coding (if index (string-trim (string-reverse (string-take reversed-field-value index)))