aboutsummaryrefslogtreecommitdiffstats
path: root/http-cgi.scm
diff options
context:
space:
mode:
authorThomas Bushnell, BSG <tb@debian.org>2005-12-04 20:03:34 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:33 -0800
commit69d4f1c761291d2c33c4b22454877402465b2c48 (patch)
treee46e0725a432b1f6460515fa521da6bb174bb226 /http-cgi.scm
parentf351d4a6571016e8a571e274032891e06e03911a (diff)
downloadslib-69d4f1c761291d2c33c4b22454877402465b2c48.tar.gz
slib-69d4f1c761291d2c33c4b22454877402465b2c48.zip
Import Debian changes 3a2-3debian/3a2-3
slib (3a2-3) unstable; urgency=low * Brought all source files up-to-date with upstream CVS. Repeat changes from version 3a2-1 in Makefile.
Diffstat (limited to 'http-cgi.scm')
-rw-r--r--http-cgi.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/http-cgi.scm b/http-cgi.scm
index 1dd1c07..abdb3fa 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
"<A HREF=http://swiss.csail.mit.edu/~jaffer/SLIB.html>SLIB</A> %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"))