[Twisted-web] vhost.NameVirtualHost implementation for Nevow

Ellers andrew at ellerton.net
Sat Apr 10 01:28:48 MDT 2004


On Fri, 09 Apr 2004 15:24:14 -0700, David Reid <dreid at dreid.org> wrote:

> Last night at about 4 in the morning I was saddened to discover that
> vhost.NameVirtualHost breaks horribly when using Nevow.  So in a sleep
> deprived stupor I attempted to reimplement it and failed, deleted the
> results.  Woke up this morning around 2:30pm and made it work.
>
> This JUST implements NameVirtualHost which is the only part of vhost I
> use.  Anyway, here it is *drum roll please* *clicks the attach button,
> selects the file and hits ok*
>
> -David

hehe - I relate! "Very late ... I... must... finish... TONIGHT!" and the code just gets dirtier and clunkier. Then the next day when I'm in the shower or whatever the solution appears out of nowhere, I cut the code and it works first time!

There must be a name for the phenomenon...

Ellers



More information about the Twisted-web mailing list