root/galaxy-central/eggs/twill-0.9-py2.6.egg/twill/other_packages/_mechanize_dist/_urllib2.py

リビジョン 3, 1.5 KB (コミッタ: kohda, 14 年 前)

Install Unix tools  http://hannonlab.cshl.edu/galaxy_unix_tools/galaxy.html

行番号 
1# urllib2 work-alike interface
2# ...from urllib2...
3from urllib2 import \
4     URLError, \
5     HTTPError
6# ...and from mechanize
7from _opener import OpenerDirector, \
8     SeekableResponseOpener, \
9     build_opener, install_opener, urlopen
10from _auth import \
11     HTTPPasswordMgr, \
12     HTTPPasswordMgrWithDefaultRealm, \
13     AbstractBasicAuthHandler, \
14     AbstractDigestAuthHandler, \
15     HTTPProxyPasswordMgr, \
16     ProxyHandler, \
17     ProxyBasicAuthHandler, \
18     ProxyDigestAuthHandler, \
19     HTTPBasicAuthHandler, \
20     HTTPDigestAuthHandler, \
21     HTTPSClientCertMgr
22from _request import \
23     Request
24from _http import \
25     RobotExclusionError
26
27# handlers...
28# ...from urllib2...
29from urllib2 import \
30     BaseHandler, \
31     UnknownHandler, \
32     FTPHandler, \
33     CacheFTPHandler, \
34     FileHandler
35# ...and from mechanize
36from _http import \
37     HTTPHandler, \
38     HTTPDefaultErrorHandler, \
39     HTTPRedirectHandler, \
40     HTTPEquivProcessor, \
41     HTTPCookieProcessor, \
42     HTTPRefererProcessor, \
43     HTTPRefreshProcessor, \
44     HTTPErrorProcessor, \
45     HTTPRobotRulesProcessor
46from _upgrade import \
47     HTTPRequestUpgradeProcessor, \
48     ResponseUpgradeProcessor
49from _debug import \
50     HTTPResponseDebugProcessor, \
51     HTTPRedirectDebugProcessor
52from _seek import \
53     SeekableProcessor
54# crap ATM
55## from _gzip import \
56##      HTTPGzipProcessor
57import httplib
58if hasattr(httplib, 'HTTPS'):
59    from _http import HTTPSHandler
60del httplib
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。