[Twisted-Python] woven and a web server in my plugin?

Christopher Armstrong radix at twistedmatrix.com
Tue Oct 14 09:11:15 EDT 2003

On Tue, Oct 14, 2003 at 07:49:11AM -0600, Justin Johnson wrote:
> I have a woven app I'm working on.  I used to use 'mktap web' to have
> twisted serve the app, but I also need to start a PB server, so I created
> a plugin.  The problem I'm having now is that I don't get the built-in
> functionality of the web server, like serving out things like a
> stylesheet in /templates/style.css, or images in /images.
> Is there anyway to have my own plugin which adds the same functionality
> as the web server so I don't have to write code to handle all of that?

you want twisted.web.static.File, that's what a --path webserver uses.

 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+     http://twistedmatrix.com/users/radix.twistd/

More information about the Twisted-Python mailing list