示例#1
0
 def http_error_307(self, req, res, code, msg, hdrs):
     #return None
     self.counter['307'] += 1
     if self.counter['307'] <= 1:
         return HTTPRedirectHandler.http_error_307(self, req, res, code,
                                                   msg, hdrs)