インターネットプロトコルとサポート¶
この章で記述されるモジュールは、インターネットプロトコルを実装し、関連技術をサポートします。それらは全てPythonで実装されています。これらのモジュールの大部分は、システム依存のモジュール socket が存在することが必要ですが、これは現在ではほとんどの一般的なプラットフォーム上でサポートされています。ここに概観を示します:
webbrowser--- Convenient web-browser controllerwsgiref--- WSGI Utilities and Reference Implementationurllib--- URL handling modulesurllib.request--- Extensible library for opening URLs- Request オブジェクト
- OpenerDirector オブジェクト
- BaseHandler オブジェクト
- HTTPRedirectHandler オブジェクト
- HTTPCookieProcessor オブジェクト
- ProxyHandler オブジェクト
- HTTPPasswordMgr オブジェクト
- HTTPPasswordMgrWithPriorAuth オブジェクト
- AbstractBasicAuthHandler オブジェクト
- HTTPBasicAuthHandler オブジェクト
- ProxyBasicAuthHandler オブジェクト
- AbstractDigestAuthHandler オブジェクト
- HTTPDigestAuthHandler オブジェクト
- ProxyDigestAuthHandler オブジェクト
- HTTPHandler オブジェクト
- HTTPSHandler オブジェクト
- FileHandler オブジェクト
- DataHandler オブジェクト
- FTPHandler オブジェクト
- CacheFTPHandler オブジェクト
- UnknownHandler オブジェクト
- HTTPErrorProcessor オブジェクト
- 使用例
- レガシーインターフェース
urllib.requestの制限事項
urllib.response--- urllib で使用するレスポンスクラスurllib.parse--- Parse URLs into componentsurllib.error--- Exception classes raised by urllib.requesturllib.robotparser--- Parser for robots.txthttp--- HTTP moduleshttp.client--- HTTP protocol clientftplib--- FTP protocol clientpoplib--- POP3 protocol clientimaplib--- IMAP4 protocol clientsmtplib--- SMTP protocol clientuuid--- UUID objects according to RFC 4122socketserver--- A framework for network servershttp.server--- HTTP servershttp.cookies--- HTTP state managementhttp.cookiejar--- Cookie handling for HTTP clientsxmlrpc--- XMLRPC サーバーとクライアントモジュール群xmlrpc.client--- XML-RPC client accessxmlrpc.server--- Basic XML-RPC serversipaddress--- IPv4/IPv6 manipulation library