From 31029f9c7731cbda93f0c57683f0919ad0ed36c4 Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Mon, 23 Jul 2012 20:54:31 -0400 Subject: [PATCH] Make some web server example code use a valid URL. (cherry picked from commit 8e889cfdb1b9e2a012bde2d09be60731a725f8eb) --- collects/web-server/scribblings/http.scrbl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/collects/web-server/scribblings/http.scrbl b/collects/web-server/scribblings/http.scrbl index 667c2aad25..a5c61aab43 100644 --- a/collects/web-server/scribblings/http.scrbl +++ b/collects/web-server/scribblings/http.scrbl @@ -184,7 +184,7 @@ Here is an example typical of what you will find in many applications: 301 #"Moved Permanently" (current-seconds) TEXT/HTML-MIME-TYPE (list (make-header #"Location" - #"http://racket-lang.org/downloads")) + #"http://racket-lang.org/download")) (λ (op) (write-bytes #"Moved" op))) ] } @@ -200,10 +200,10 @@ Here is an example typical of what you will find in many applications: 301 #"Moved Permanently" (current-seconds) TEXT/HTML-MIME-TYPE (list (make-header #"Location" - #"http://racket-lang.org/downloads")) + #"http://racket-lang.org/download")) (list #"

" #"Please go to here instead." #"

")) ]