mirror of https://github.com/python/cpython
Add renaming notices to 3.0 http package members.
This commit is contained in:
parent
8b12ee1072
commit
8de9119447
|
@ -1,10 +1,14 @@
|
||||||
|
|
||||||
:mod:`BaseHTTPServer` --- Basic HTTP server
|
:mod:`BaseHTTPServer` --- Basic HTTP server
|
||||||
===========================================
|
===========================================
|
||||||
|
|
||||||
.. module:: BaseHTTPServer
|
.. module:: BaseHTTPServer
|
||||||
:synopsis: Basic HTTP server (base class for SimpleHTTPServer and CGIHTTPServer).
|
:synopsis: Basic HTTP server (base class for SimpleHTTPServer and CGIHTTPServer).
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :mod:`BaseHTTPServer` module has been merged into :mod:`http.server` in
|
||||||
|
Python 3.0. The :term:`2to3` tool will automatically adapt imports when
|
||||||
|
converting your sources to 3.0.
|
||||||
|
|
||||||
|
|
||||||
.. index::
|
.. index::
|
||||||
pair: WWW; server
|
pair: WWW; server
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`CGIHTTPServer` --- CGI-capable HTTP request handler
|
:mod:`CGIHTTPServer` --- CGI-capable HTTP request handler
|
||||||
=========================================================
|
=========================================================
|
||||||
|
|
||||||
|
@ -7,6 +6,11 @@
|
||||||
scripts.
|
scripts.
|
||||||
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
|
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :mod:`CGIHTTPServer` module has been merged into :mod:`http.server` in
|
||||||
|
Python 3.0. The :term:`2to3` tool will automatically adapt imports when
|
||||||
|
converting your sources to 3.0.
|
||||||
|
|
||||||
|
|
||||||
The :mod:`CGIHTTPServer` module defines a request-handler class, interface
|
The :mod:`CGIHTTPServer` module defines a request-handler class, interface
|
||||||
compatible with :class:`BaseHTTPServer.BaseHTTPRequestHandler` and inherits
|
compatible with :class:`BaseHTTPServer.BaseHTTPRequestHandler` and inherits
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`Cookie` --- HTTP state management
|
:mod:`Cookie` --- HTTP state management
|
||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
|
@ -7,6 +6,11 @@
|
||||||
.. moduleauthor:: Timothy O'Malley <timo@alum.mit.edu>
|
.. moduleauthor:: Timothy O'Malley <timo@alum.mit.edu>
|
||||||
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
|
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :mod:`Cookie` module has been renamed to :mod:`http.cookies` in Python
|
||||||
|
3.0. The :term:`2to3` tool will automatically adapt imports when converting
|
||||||
|
your sources to 3.0.
|
||||||
|
|
||||||
|
|
||||||
The :mod:`Cookie` module defines classes for abstracting the concept of
|
The :mod:`Cookie` module defines classes for abstracting the concept of
|
||||||
cookies, an HTTP state management mechanism. It supports both simple string-only
|
cookies, an HTTP state management mechanism. It supports both simple string-only
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
:mod:`cookielib` --- Cookie handling for HTTP clients
|
:mod:`cookielib` --- Cookie handling for HTTP clients
|
||||||
=====================================================
|
=====================================================
|
||||||
|
|
||||||
|
@ -7,6 +6,11 @@
|
||||||
.. moduleauthor:: John J. Lee <jjl@pobox.com>
|
.. moduleauthor:: John J. Lee <jjl@pobox.com>
|
||||||
.. sectionauthor:: John J. Lee <jjl@pobox.com>
|
.. sectionauthor:: John J. Lee <jjl@pobox.com>
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :mod:`cookielib` module has been renamed to :mod:`http.cookiejar` in
|
||||||
|
Python 3.0. The :term:`2to3` tool will automatically adapt imports when
|
||||||
|
converting your sources to 3.0.
|
||||||
|
|
||||||
|
|
||||||
.. versionadded:: 2.4
|
.. versionadded:: 2.4
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
|
|
||||||
:mod:`httplib` --- HTTP protocol client
|
:mod:`httplib` --- HTTP protocol client
|
||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
.. module:: httplib
|
.. module:: httplib
|
||||||
:synopsis: HTTP and HTTPS protocol client (requires sockets).
|
:synopsis: HTTP and HTTPS protocol client (requires sockets).
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :mod:`httplib` module has been renamed to :mod:`http.client` in Python
|
||||||
|
3.0. The :term:`2to3` tool will automatically adapt imports when converting
|
||||||
|
your sources to 3.0.
|
||||||
|
|
||||||
|
|
||||||
.. index::
|
.. index::
|
||||||
pair: HTTP; protocol
|
pair: HTTP; protocol
|
||||||
|
|
|
@ -6,6 +6,11 @@
|
||||||
:synopsis: This module provides a basic request handler for HTTP servers.
|
:synopsis: This module provides a basic request handler for HTTP servers.
|
||||||
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
|
.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
The :mod:`SimpleHTTPServer` module has been merged into :mod:`http.server` in
|
||||||
|
Python 3.0. The :term:`2to3` tool will automatically adapt imports when
|
||||||
|
converting your sources to 3.0.
|
||||||
|
|
||||||
|
|
||||||
The :mod:`SimpleHTTPServer` module defines a single class,
|
The :mod:`SimpleHTTPServer` module defines a single class,
|
||||||
:class:`SimpleHTTPRequestHandler`, which is interface-compatible with
|
:class:`SimpleHTTPRequestHandler`, which is interface-compatible with
|
||||||
|
|
Loading…
Reference in New Issue