[Twisted-Python] no 'headers' in server.Request instance problem

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Jun 13 05:00:15 MDT 2002


From: Itamar Shtull-Trauring <twisted at itamarst.org>
Subject: Re: [Twisted-Python] no 'headers' in server.Request instance problem
Date: Thu, 13 Jun 2002 01:37:41 +0200

> BTW - you don't need to use twisted.web.server.Request - since the 
> refactor to HTTP you only need twisted.protocols.http.Request, no need 
> to use twisted.web unless you are using it as a web framework.

Actually you don't need to use Request at all.  If you want this to work with
other twisted.web servers, it would be best to structure your work as additions
to Resource, not Request.

What functionality are you adding at the Request level?


-- 
 |    <`'>    |  Glyph Lefkowitz: Traveling Sorcerer  |
 |   < _/ >   |  Lead Developer,  the Twisted project  |
 |  < ___/ >  |      http://www.twistedmatrix.com      |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20020613/78d931cf/attachment.sig>


More information about the Twisted-Python mailing list