Commit Graph

7 Commits

Author SHA1 Message Date
sperber 022ea25ba6 Rework once again how content types, content encodings, icons etc. are
handled in the file/directory request handlers:

- HTTPD-FILE-DIRECTORY-HANDLERS now has its own options argument
- the ICON-NAME HTTPD option is gone (effectively moved to the above)
- determination of content type/encoding is now configurable
2003-01-28 15:16:20 +00:00
sperber c0281e834a Rename "path handler" -> "request handler". 2002-09-22 15:41:41 +00:00
sperber aeeeea79c1 Add copyright notice. 2002-08-27 09:03:22 +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 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 e0af4da4d6 added field for resolving ips in logfiles 2002-08-22 16:10:08 +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