vibr
cd22ab11d4
Corrected bug: SEVAL now generates a response-body even if the request's body isn't
...
form-url encoded or doesn't contain a program
2004-08-15 12:44:55 +00:00
vibr
8cf841bad3
rename get-content-length to get-body-length-from-content-length
...
move get-body-length-from-content-length and get-numeric-field-value
from seval.scm to sunet-utilities.scm
adapt packages.scm
2004-08-14 21:58:11 +00:00
vibr
f8559581d2
GET-NUMERIC-FIELD-VALUE now uses GET-HEADER from utilities.scm
...
and returns #f if GET-HEADER does so
adapted GET-CONTENT-LENGHT
2004-08-14 21:18:12 +00:00
vibr
ffbe3b21cd
factor out parsing of content-length header value -> GET-CONTENT-LENGTH
...
generalize parsing of content-length header value to parse all header field
values of the form 1*DIGIT -> GET-NUMERIC-FIELD-VALUE
check for valid content-length header in SEVAL before answering 200
TODO: SEVAL is still buggy for request with invalid _body_
2004-08-14 19:07:23 +00:00
vibr
9fcfcf36f0
add comments explaining why seval-handler is buggy
2004-08-14 15:47:29 +00:00
vibr
a9ae5061d0
make server generated html pages XHTML 1.0 Strict:
...
element names -> lower case
2004-08-13 15:26:50 +00:00
vibr
880a05229c
-adapt calls of make-error-response
...
-allow header in 405 answers
-answer 501, not 405, for unimplemented/unrecognized methods
2004-08-11 14:51:51 +00:00
interp
da98c4b78c
factor out GET-HEADER
2003-02-19 17:05:16 +00:00
interp
6804ad4712
* Redirect output from interactive Scheme Program to OPORT (to browser).
...
* Add definition for GET-HEADER (does every package need its own definition?)
2003-01-28 21:29:23 +00:00
sperber
a5bdc8743e
Remove comments that have been integrated into the documentation.
2003-01-14 13:53:24 +00:00
sperber
86b0639a7f
Rename MAKE-HTTP-ERROR-RESPONSE -> MAKE-ERROR-RESPONSE to be
...
consistent with MAKE-RESPONSE.
2003-01-10 09:52:35 +00:00
sperber
0754b74963
Replace integer HTTP status codes by finite record type instances.
2003-01-09 15:05:30 +00:00
sperber
641b8129ba
Renamed REQUEST:xxx to REQUEST-xxx.
2002-11-29 14:49:22 +00:00
sperber
c0281e834a
Rename "path handler" -> "request handler".
2002-09-22 15:41:41 +00:00
interp
80257c0822
make more pleasent error messages
2002-09-03 12:45:39 +00:00
interp
5bced0b8f7
remove introduced but nerving signal stuff from handlers
2002-08-29 08:32:39 +00:00
interp
62b3307fb2
* new response body: :HTTP-READER-WRITER-BODY
...
* hand over SOCKET:INPORT to SEND-HTTP-RESPONSE
* apply this to seval-handler
2002-08-28 16:44:07 +00:00
interp
57c6710012
* map socket inport to handler inport (allows POST requests)
...
* remove FIXME from seval
* add seval example to example web-server
2002-08-28 15:56:14 +00:00
interp
a2aed3280e
adapt seval-handler to new response philosophy
...
FIXME: problems with input port in POST request
2002-08-28 15:41:52 +00:00
sperber
aeeeea79c1
Add copyright notice.
2002-08-27 09:03:22 +00:00
sperber
e8b7ef763f
Remove Olin's import notes which are bound to be inaccurate by now.
...
Fix a few RFC URLs.
2002-08-26 11:18:44 +00:00
sperber
6f7cd467f1
Adopt proper RFC terminology:
...
"reply" -> "response"
"reply code" -> "status code"
2002-08-26 09:59:14 +00:00
interp
a6f10bc87d
adapting to new httpd logging facility
2002-08-26 08:15:43 +00:00
interp
3573dcc613
* moved files concerning web server to new subdirectory httpd
...
* minor change in inner order of modules.scm
* commented out structure in program-modules: source files are missing (?)
2002-05-14 13:53:55 +00:00