• http://www.blogger.com/profile/04893729285856691511 Thomas Perl

    Hello, Doug! Your E-Mail address is not working, so I’ll try to post here so you can get this message:

    I’m happily using a customized version of python-feedcache with gPodder
    (gpodder.berlios.de); only now I’ve just found a small problem: feeds
    that are redirected (301, 302) will not be cached, because you are only
    checking for the “200″ status code. So, instead of writing

    elif status == 200:

    you should probably have something like

    elif status in (200, 301, 302, 307):

    (see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)

    Hope this can find its way into your great python-feedcache package!

    Thanks,
    Thomas

  • http://www.blogger.com/profile/01892352754222143463 Doug Hellmann

    Hi, Thomas,

    Thanks for the tip. I replied to the email address I had for you, so let’s see if that works.