sunet-commit
[Top] [All Lists]

[Sunet-commit] sunet/httpd file-dir-handler.scm response.scm core.scm ha

To: sunet-commit@lists.sourceforge.net
Subject: [Sunet-commit] sunet/httpd file-dir-handler.scm response.scm core.scm handlers.scm options.scm text-generation.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/httpd
In directory usw-pr-cvs1:/tmp/cvs-serv11335/httpd

Modified Files:
        core.scm handlers.scm options.scm text-generation.scm 
Added Files:
        file-dir-handler.scm response.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>
  • [Sunet-commit] sunet/httpd file-dir-handler.scm response.scm core.scm handlers.scm options.scm text-generation.scm, Mike Sperber <=