Commit Graph

486 Commits

Author SHA1 Message Date
sperber 013c7bd5b3 Adjust use of TILDE-HOME-DIR-HANDLER. 2002-08-27 09:45:05 +00:00
sperber 3b6b813965 Move NULL-PATH-HANDLER from HTTPD-FILE-DIRECTORY-HANDLERS-INTERFACE to
HTTPD-BASIC-HANDLERS.
2002-08-27 09:42:02 +00:00
sperber c97bbfc1db Move MAKE-HTTP-ERROR-RESPONSE from HTTPD-CORE to HTTPD-RESPONSES.
Elide REALLY-MAKE-HTTP-ERROR-RESPONSE in the process.
2002-08-27 09:39:05 +00:00
sperber f5b7f76bd6 Fix HOME-DIR-HANDLER and TILDE-HOME-DIR-HANDLER. 2002-08-27 09:32:12 +00:00
sperber 4c98437ce0 Fix typo in SEND-HTTP-RESPONSE. 2002-08-27 09:28:09 +00:00
sperber c668e35e05 HOSTNAME -> HOST-NAME 2002-08-27 09:05:16 +00:00
sperber aeeeea79c1 Add copyright notice. 2002-08-27 09:03:22 +00:00
interp 755b715a77 * move dotdot-check and copy-inport->outport to sunet-utilities
* open necessary packages in various structures
2002-08-26 16:36:25 +00:00
sperber 52036a75ad Revive comment section from older version. 2002-08-26 15:15:02 +00:00
sperber e397f2520e R4RS -> R5RS 2002-08-26 15:14:10 +00:00
sperber 7460d8009f Add a MAKE-HTTPD-OPTIONS combinator for a more visually pleasant
layout for HTTPD-OPTIONS constructors.
2002-08-26 13:10:57 +00:00
sperber 3b298aadcc Remove old code from Gäbe Engelhart. 2002-08-26 11:46:27 +00:00
sperber 1a1dcebbd0 Remove HTTP-CONSTANTS / http/constants.scm. 2002-08-26 11:44:02 +00:00
sperber 541113a4f0 Fold text-generation.scm (which was down to a few lines) into core.scm. 2002-08-26 11:21:53 +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 af95d497af Properly handle HEAD requests.
Properly handle HTTP 0.9 requests.
2002-08-26 11:11:40 +00:00
sperber 6f7cd467f1 Adopt proper RFC terminology:
"reply" -> "response"
"reply code" -> "status code"
2002-08-26 09:59:14 +00:00
sperber d1438eb4a8 Rework the API of path handlers:
Path handlers must now return a response object similar to the
response objects of the PLT web server, encapsulating headers, mime
type, status code, and so on.

A response object in turn can contain an encoding of a body.  The only
presently supported body type is a procedure which just prints the
body.

Other changes:
- split file-dir-handler.scm out from handlers.scm
- moved the ICON-NAME constructor parameters for file handlers to the
  options
- removed input/output port redirections and work with paths
  explicitly
2002-08-26 09:46:11 +00:00
interp 1236b3dccd adapted to new logging facility of httpd 2002-08-26 08:26:08 +00:00
interp a6f10bc87d adapting to new httpd logging facility 2002-08-26 08:15:43 +00:00
interp 60df692033 bug removing (...parenthesised...) 2002-08-24 17:45:37 +00:00
interp 0119532744 changes in my-reported-fqdn:
* respect change in arguments between different calls before handing out
  cached value
* make its use safe in thread context
2002-08-24 17:26:56 +00:00
interp 1ea2e0f8e7 remove bug from my-reported-fqdn 2002-08-24 16:46:34 +00:00
interp 5f654f5fc3 use char-set:digit instead of deprecated char-set:numeric 2002-08-23 15:44:40 +00:00
interp ed4ad0798f use dns-lookup-ip before using host-info for fqdn 2002-08-23 15:41:06 +00:00
interp 64d4705ab3 * export selector and transformer of resolve-ip? field in httpd-options
* import dns to httpd-logging
* add dns-lookup facility to logging
2002-08-22 16:40:10 +00:00
interp e0af4da4d6 added field for resolving ips in logfiles 2002-08-22 16:10:08 +00:00
interp 017d5408e8 * adpated to new handler combinators
* change script call header (using exec ... now)
2002-08-22 15:33:37 +00:00
interp 2c9b931100 added handler combinators and adapted current basic handlers 2002-08-22 15:32:03 +00:00
sperber f4bacf411a Fix URL of HTTP 1.0 RFC. 2002-08-22 14:59:49 +00:00
interp 092874805f correct log output to logfile 2002-08-22 13:19:57 +00:00
sperber 0d70f66dd7 Revert to old representation of HTTP-URL:PATH. 2002-06-08 15:29:29 +00:00
interp f82499bf71 removed superfluous char-set:whitespace in call to string-trim 2002-05-30 14:07:30 +00:00
interp 77ebc6aea4 * split up big httpd-core file in several pieces
* make structures that used httpd-core using the new pieces of httpd-core
2002-05-26 17:56:56 +00:00
interp 3e16721158 renamed httpd-\(*\).scm files to \1.scm
updated modules.scm and docu accordingly
2002-05-26 14:47:48 +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