(cherry picked from commit 3f94c3dcfc)
This commit is contained in:
Eli Barzilay 2011-04-21 23:33:07 -04:00
parent 61f3f31b0a
commit fef878523e

View File

@ -56,9 +56,9 @@
@code{#lang web-server/insta
;; A "hello world" web server
(define (start request)
(response/xexpr)
(response/xexpr
'(html
(body "Hello World")))}
(body "Hello World"))))}
@desc{This example implements a web server using the
@elemcode{web-server/insta} language. Each time a connection is made to
the server, the @elemcode{start} function is called to get the HTML to