GNU Info

Info Node: (python2.1-lib.info)HTTPRedirectHandler Objects

(python2.1-lib.info)HTTPRedirectHandler Objects


Next: ProxyHandler Objects Prev: BaseHandler Objects Up: urllib2
Enter node , (file) or (file)node

HTTPRedirectHandler Objects
---------------------------

*Note:* 303 redirection is not supported by this version of `urllib2'.

`http_error_301(req, fp, code, msg, hdrs)'
     Redirect to the `Location:' URL.  This method is called by the
     parent `OpenerDirector' when getting an HTTP permanent-redirect
     response.

`http_error_302(req, fp, code, msg, hdrs)'
     The same as `http_error_301()', but called for the
     temporary-redirect response.


automatically generated by info2www version 1.2.2.9