twisted server

Jean-Paul Calderone exarkun at divmod.com
Mon Jun 15 15:01:24 EDT 2009


On Mon, 15 Jun 2009 10:02:54 -0700 (PDT), Mikie <thephantom6969 at hotmail.com> wrote:
>I am setting up a simple twisted server looks like this
>
> [snip]
>
>I would like to have an image loaded in the html page, but when I use
><img src="image.gif"> the port is inserted and the image will not
>load.  Is there a way to load the image?

This isn't a good way to make a web server with Twisted.  Take a look at
http://twistedmatrix.com/projects/web/documentation/howto/using-twistedweb.html

Jean-Paul



More information about the Python-list mailing list