44100cbf5e
Added type NO-BODY for responses which must not contain a message-body (201, 304, 404). Added export of type-predicate no-body?. Adapted SEND-HTTP-RESPONSE to check for no-body responses. Extended MAKE-ERROR-RESPONSE to make responses 201, 304, 404.
vibr2004-08-15 11:03:28 +00:00
549594bef4
with-tag* outputs no newlines
vibr2004-08-14 22:05:06 +00:00
ef48e4e5ae
make-host-name-handler now uses get-header from sunet-utilities.scm
vibr2004-08-14 22:03:19 +00:00
8cf841bad3
rename get-content-length to get-body-length-from-content-length
vibr2004-08-14 21:58:11 +00:00
f8559581d2
GET-NUMERIC-FIELD-VALUE now uses GET-HEADER from utilities.scm and returns #f if GET-HEADER does so
vibr2004-08-14 21:18:12 +00:00
aea0e950ba
removed definition of GET-HEADER which conflicted with definition of GET-HEADER in utilities.scm and wasn't exported anyway
vibr2004-08-14 20:54:57 +00:00
ffbe3b21cd
factor out parsing of content-length header value -> GET-CONTENT-LENGTH
vibr2004-08-14 19:07:23 +00:00
06ec0f0293
server-generated webpages -> XHTML 1.0 Strict: add XML namespace declaration to html element
vibr2004-08-13 15:49:19 +00:00
6969b80206
- move XHTML stuff from responses.scm to htmlout.scm - new function EMIT-PROLOG - define XML namespace declaration - adapt macro %hack-attr-elt: special treatment of xmlnsdecl-attr (this is not nice, but the only alternative was hard-coding the XML namespace declaration into the various handlers) - element names -> lower case
vibr2004-08-13 15:46:53 +00:00
96f0ae41d5
-move XHTML stuff from responses.scm to htmlout.scm -don't use WRITE-STRING with \n (\n within strings is not in R5RS), instead use FORMAT with ~% -use EMIT-PROLOG and EMIT-TAG from htmlout.scm
vibr2004-08-13 15:37:31 +00:00
c089e26e96
move XHTML stuff from responses.scm to htmlout.scm, adapt packages.scm
vibr2004-08-13 15:34:00 +00:00
a9ae5061d0
make server generated html pages XHTML 1.0 Strict: element names -> lower case
vibr2004-08-13 15:26:50 +00:00
7bdd94cdb5
"moved-temp" -> "temp-redirect" (HTTP/1.1: use 307 instead of 302 for unambiguity)
vibr2004-08-11 19:06:05 +00:00
7b6f5675af
allow header in 405 answers
vibr2004-08-11 14:53:11 +00:00
880a05229c
-adapt calls of make-error-response -allow header in 405 answers -answer 501, not 405, for unimplemented/unrecognized methods
vibr2004-08-11 14:51:51 +00:00
5f64e72cd0
make-error-response: more meaningful error description: show parsed uri
vibr2004-08-11 14:48:11 +00:00
3abe557a86
make-error-response in response.scm uses http-url->string
vibr2004-08-11 14:45:32 +00:00
8b09f2b338
-adapt calls of make-error-response -answer 501, not 405, for unimplemented/unrecognized methods
vibr2004-08-11 12:28:46 +00:00
1c4445933d
adapt docu of make-error-response to its reworked interface
vibr2004-08-11 10:43:26 +00:00
f22f43ccd1
make-error-response: use stuff in req where req isn't #f
vibr2004-08-11 10:17:14 +00:00
2ee378aea9
add comments: -make clear difference between http-error and fatal-syntax-error -refer to make-error-response for args of http-error
vibr2004-08-11 09:20:31 +00:00
a3dd880c7a
+catch calls of make-error-response with too few arguments
vibr2004-08-10 14:26:50 +00:00
584acf4441
Use send-html/finish instead of send-html for the single page.
interp2004-07-24 15:16:58 +00:00
10ca480e4c
Correct error message in make-http-response.
interp2004-07-21 20:38:00 +00:00
6d6f34ae78
minor change: make clear Scheme value of not annotated checkbox depends on standard transformer.
interp2004-07-21 20:33:37 +00:00
2268fe3231
Parameterize over error message in make-simple-default-setter
interp2004-07-21 20:31:30 +00:00
15f07f8d4a
Design change: transformer of non-multi input-fields get two arguments: the input-field *and* the binding value (not only the binding value)
interp2004-07-21 20:09:37 +00:00
3311f6af34
Moved startup scripts to web-server directory
mainzelm2004-05-17 08:34:07 +00:00
b7e37f8767
+ Add sample links for rman and info gateways. + Mention required startup scripts.
mainzelm2004-05-17 08:15:47 +00:00
aeed1acfc2
Mention SUrflets as in README.
interp2004-05-13 21:27:55 +00:00
9d67969c09
Adjust section about installing SSAX to package proposal Minor reformatting / typos removed
interp2004-05-13 21:27:26 +00:00
b568965f6e
Fix computation of default directories
mainzelm2004-05-13 08:34:03 +00:00
c7693e9bc7
Correct description of extended-web-server
mainzelm2004-05-13 08:31:13 +00:00
a838425ca3
Show update message if entered energy is out of range.
interp2004-05-12 20:20:52 +00:00
5e12e7ec0e
In MAIN: use args parameter instead of command-line for directory; allows to start from within scsh manually
interp2004-05-12 19:59:43 +00:00
84e22f065e
html is part of CVS tree. Thus, ignore index.html and man* files in html directory instead.
interp2004-05-12 19:57:17 +00:00
59e79fa839
Ignore html and pdf directory
interp2004-05-12 19:51:32 +00:00
b4c3ad937e
In MAIN: get directory from args parameter, not from command-line; allows to start from within scsh manually
interp2004-05-12 19:44:06 +00:00
246c2b46ad
In MAIN: get directory from args parameter, not command-line; allows to start main from within scsh manually Add comments how to use rman-handler and info-handler
interp2004-05-12 19:43:13 +00:00
7a04cf81d5
Omit warning message if INFOPATH is not set.
interp2004-05-12 19:28:17 +00:00
e13ad264bc
Omit warning message if MANPATH is not set.
interp2004-05-12 19:28:04 +00:00
fe45fdc230
Mention and explain sample web servers.
mainzelm2004-05-12 07:49:50 +00:00
fe9e6fe3b9
Include INSTALL in the tarball.
mainzelm2004-05-12 07:29:45 +00:00
1a2218b89f
Move default location of httpd.log file to /tmp
mainzelm2004-05-11 12:10:13 +00:00
704ffae307
Use args-fold (SRFI-37) for parsing command-line arguments
eknauel2004-05-11 12:04:10 +00:00