Using ....
svn: r12568
This commit is contained in:
parent
2480a1c4e8
commit
115f34a1e7
|
@ -110,7 +110,7 @@ If you want to use @scheme[serve/servlet] in a start up script for a Web server,
|
||||||
"conf"
|
"conf"
|
||||||
"not-found.html"))]
|
"not-found.html"))]
|
||||||
[#:mime-types-path mime-types-path path?
|
[#:mime-types-path mime-types-path path?
|
||||||
...]
|
....]
|
||||||
[#:log-file log-file path? #f]
|
[#:log-file log-file path? #f]
|
||||||
[#:log-format log-format symbol? 'apache-default])
|
[#:log-format log-format symbol? 'apache-default])
|
||||||
void]{
|
void]{
|
||||||
|
|
|
@ -466,7 +466,7 @@ The code associated with these templates is very simple as well:
|
||||||
|
|
||||||
(define-struct post (title body comments))
|
(define-struct post (title body comments))
|
||||||
|
|
||||||
(define posts ...)
|
(define posts ....)
|
||||||
|
|
||||||
(define (template section body)
|
(define (template section body)
|
||||||
(list TEXT/HTML-MIME-TYPE
|
(list TEXT/HTML-MIME-TYPE
|
||||||
|
|
|
@ -128,7 +128,7 @@ functions of interest for the servlet developer.
|
||||||
(lambda (req)
|
(lambda (req)
|
||||||
`(html (head (title "Custom Expiration!"))))])
|
`(html (head (title "Custom Expiration!"))))])
|
||||||
(send/suspend
|
(send/suspend
|
||||||
...))
|
....))
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user