| To: | sunet-commit@lists.sourceforge.net |
|---|---|
| Subject: | [Sunet-commit] sunet packages.scm |
| From: | Mike Sperber <sperber@users.sourceforge.net> |
| Date: | Mon Aug 26 02:47:01 2002 |
| List-id: | <sunet-commit.lists.sourceforge.net> |
| Sender: | sunet-commit-admin@lists.sourceforge.net |
Update of /cvsroot/sunet/sunet
In directory usw-pr-cvs1:/tmp/cvs-serv11335
Modified Files:
packages.scm
Log Message:
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Sunet-commit] sunet/lib htmlout.scm, Mike Sperber |
|---|---|
| Next by Date: | [Sunet-commit] sunet/httpd file-dir-handler.scm response.scm core.scm handlers.scm options.scm text-generation.scm, Mike Sperber |
| Previous by Thread: | [Sunet-commit] sunet packages.scm, Andreas Bernauer |
| Next by Thread: | [Sunet-commit] sunet packages.scm, Mike Sperber |
| Indexes: | [Date] [Thread] [Top] [All Lists] |