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

Justin Johnson justinjohnson at fastmail.fm
Tue Oct 14 11:21:51 EDT 2003


This looks like what I need.  Thanks.

On Tue, 14 Oct 2003 09:11:15 -0400, "Christopher Armstrong"
<radix at twistedmatrix.com> said:
> 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/
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python




More information about the Twisted-Python mailing list