From 237c6e380aebdcbc70bd1c9ecf7d3f6effca2752 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:34 -0800 Subject: Import Upstream version 3a3 --- http-cgi.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'http-cgi.scm') diff --git a/http-cgi.scm b/http-cgi.scm index 1dd1c07..f8f9793 100644 --- a/http-cgi.scm +++ b/http-cgi.scm @@ -90,7 +90,7 @@ (else #f))) (define (http:status-line status-code reason) - (sprintf #f "HTTP/1.1 %d %s%s" status-code reason http:crlf)) + (sprintf #f "HTTP/1.0 %d %s%s" status-code reason http:crlf)) ;;@body Returns a string containing lines for each element of @1; the ;;@code{car} of which is followed by @samp{: }, then the @code{cdr}. @@ -126,7 +126,7 @@ (sprintf #f "SLIB %s server" - (if (getenv "SERVER_PROTOCOL") "CGI/1.1" "HTTP/1.1")))) + (if (getenv "SERVER_PROTOCOL") "CGI/1.0" "HTTP/1.0")))) (string-append (http:status-line status-code reason-phrase) (http:content '(("Content-Type" . "text/html")) @@ -389,7 +389,7 @@ (coerce->list value (list-ref types opt-pos))) (else (list (coerce value (list-ref types opt-pos))))))))))) - alist) + (reverse alist)) parameter-list)) ;;@args rdb command-table -- cgit v1.2.3