[Twisted-web] adding etag and modified arguments to
twisted feedparser
Selwyn McCracken
selwyn.mccracken at stonebow.otago.ac.nz
Tue Sep 28 18:37:20 MDT 2004
many thanks for both your answer and your recipe (it is very useful).
I will try and get things working with getPageCached()
Valentino Volonghi wrote:
> On Wed, 29 Sep 2004 09:53:31 +1200, Selwyn McCracken
> <selwyn.mccracken at stonebow.otago.ac.nz> wrote:
>
>>hi,
>>
>>I am having trouble modifying the twisted-based rss aggregator from the
>>python cookbook so that feedparser can make use of the update related
>>arguments of 'etag' and 'modified' to save bandwith.
>>(see http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/277099)
>
>
> Glad to see someone found that stuff useful :).
> I'm the author of that recipe.
>
> You will also be glad to know that I already solved your problems
> months ago and you can find the solution here:
> http://www.twistedmatrix.com/users/roundup.twistd/twisted/issue612
>
> Unfortunately, when I asked for addition in twisted.web Itamar
> rejected because twisted.web already was on its way to deprecation.
>
> It should work without any problems, and you should use
> client.getPageCached() instead of client.getPage().
>
>
More information about the Twisted-web
mailing list