From dcd9c42a34f5ce49b49c08f35c5629f468641b64 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 29 Jun 2008 12:54:28 +0000 Subject: [PATCH] Process http error 307 as a temporary redirect. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@218 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/bkmk_rsimple.py | 2 ++ doc/ANNOUNCE | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Robots/bkmk_rsimple.py b/Robots/bkmk_rsimple.py index f481d66..09b1fbd 100644 --- a/Robots/bkmk_rsimple.py +++ b/Robots/bkmk_rsimple.py @@ -40,6 +40,8 @@ class MyURLopener(urllib.URLopener): # Error 301 -- also relocated (permanently) http_error_301 = http_error_302 + # Error 307 -- also relocated (temporary) + http_error_307 = http_error_302 # Error 401 -- authentication required def http_error_401(self, url, fp, errcode, errmsg, headers, data=None): diff --git a/doc/ANNOUNCE b/doc/ANNOUNCE index b4cd60a..d970b0e 100644 --- a/doc/ANNOUNCE +++ b/doc/ANNOUNCE @@ -7,6 +7,10 @@ bookmarks.html. I like Mozilla, but I need more features. I want to extend Mozilla's "Check for updates" feature (Navigator4 called it "Update bookmarks"). +WHAT'S NEW in version 4.1.2 + + Process http error 307 as a temporary redirect. + WHAT'S NEW in version 4.1.1 (2008-03-10) Catch and report all errors. -- 2.39.5