Re: Request subclassing

Michele Simionato <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On 11/9/05, Matt Patterson <[email protected]> wrote:
> Hey,
>
> I sent a mail about being able to use a subclassed HTTPRequest in
> Quixote late last month, with an attached patch which allowed you to
> pass a request class of your own into Publisher.
>
> Did anyone have any thoughts about this (approach more than patch, I
> suppose).

I haven't see the patch, but I would like very much the possibility of
subclassing HTTPRequest. My use case: add methods to the request
to easy the transition of code to and from other frameworks. Currently I
am adding those methods on the fly to the  HTTPRequest class,
but it is a hack.

       Michele Simionato
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.