python-docs-fr/library/httplib.po
2017-10-23 22:33:03 +02:00

1075 lines
27 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2016, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-10-30 10:44+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/httplib.rst:2
msgid ":mod:`httplib` --- HTTP protocol client"
msgstr ""
#: ../Doc/library/httplib.rst:8
msgid ""
"The :mod:`httplib` module has been renamed to :mod:`http.client` in Python "
"3. The :term:`2to3` tool will automatically adapt imports when converting "
"your sources to Python 3."
msgstr ""
#: ../Doc/library/httplib.rst:19
msgid "**Source code:** :source:`Lib/httplib.py`"
msgstr ""
#: ../Doc/library/httplib.rst:23
msgid ""
"This module defines classes which implement the client side of the HTTP and "
"HTTPS protocols. It is normally not used directly --- the module :mod:"
"`urllib` uses it to handle URLs that use HTTP and HTTPS."
msgstr ""
#: ../Doc/library/httplib.rst:29
msgid ""
"The `Requests package <http://requests.readthedocs.org/>`_ is recommended "
"for a higher-level HTTP client interface."
msgstr ""
#: ../Doc/library/httplib.rst:34
msgid ""
"HTTPS support is only available if the :mod:`socket` module was compiled "
"with SSL support."
msgstr ""
#: ../Doc/library/httplib.rst:39
msgid ""
"The public interface for this module changed substantially in Python 2.0. "
"The :class:`HTTP` class is retained only for backward compatibility with "
"1.5.2. It should not be used in new code. Refer to the online docstrings "
"for usage."
msgstr ""
#: ../Doc/library/httplib.rst:43
msgid "The module provides the following classes:"
msgstr ""
#: ../Doc/library/httplib.rst:48
msgid ""
"An :class:`HTTPConnection` instance represents one transaction with an HTTP "
"server. It should be instantiated passing it a host and optional port "
"number. If no port number is passed, the port is extracted from the host "
"string if it has the form ``host:port``, else the default HTTP port (80) is "
"used. When true, the optional parameter *strict* (which defaults to a false "
"value) causes ``BadStatusLine`` to be raised if the status line can't be "
"parsed as a valid HTTP/1.0 or 1.1 status line. If the optional *timeout* "
"parameter is given, blocking operations (like connection attempts) will "
"timeout after that many seconds (if it is not given, the global default "
"timeout setting is used). The optional *source_address* parameter may be a "
"tuple of a (host, port) to use as the source address the HTTP connection is "
"made from."
msgstr ""
#: ../Doc/library/httplib.rst:61
msgid ""
"For example, the following calls all create instances that connect to the "
"server at the same host and port::"
msgstr ""
#: ../Doc/library/httplib.rst:71 ../Doc/library/httplib.rst:93
msgid "*timeout* was added."
msgstr "Ajout de *timeout*."
#: ../Doc/library/httplib.rst:74 ../Doc/library/httplib.rst:96
msgid "*source_address* was added."
msgstr ""
#: ../Doc/library/httplib.rst:80
msgid ""
"A subclass of :class:`HTTPConnection` that uses SSL for communication with "
"secure servers. Default port is ``443``. If *context* is specified, it "
"must be a :class:`ssl.SSLContext` instance describing the various SSL "
"options."
msgstr ""
#: ../Doc/library/httplib.rst:84
msgid ""
"*key_file* and *cert_file* are deprecated, please use :meth:`ssl.SSLContext."
"load_cert_chain` instead, or let :func:`ssl.create_default_context` select "
"the system's trusted CA certificates for you."
msgstr ""
#: ../Doc/library/httplib.rst:89
msgid "Please read :ref:`ssl-security` for more information on best practices."
msgstr ""
#: ../Doc/library/httplib.rst:99
msgid "*context* was added."
msgstr ""
#: ../Doc/library/httplib.rst:102
msgid ""
"This class now performs all the necessary certificate and hostname checks by "
"default. To revert to the previous, unverified, behavior :func:`ssl."
"_create_unverified_context` can be passed to the *context* parameter."
msgstr ""
#: ../Doc/library/httplib.rst:110
msgid ""
"Class whose instances are returned upon successful connection. Not "
"instantiated directly by user."
msgstr ""
#: ../Doc/library/httplib.rst:117
msgid ""
"An :class:`HTTPMessage` instance is used to hold the headers from an HTTP "
"response. It is implemented using the :class:`mimetools.Message` class and "
"provides utility functions to deal with HTTP Headers. It is not directly "
"instantiated by the users."
msgstr ""
#: ../Doc/library/httplib.rst:123
msgid "The following exceptions are raised as appropriate:"
msgstr ""
#: ../Doc/library/httplib.rst:128
msgid ""
"The base class of the other exceptions in this module. It is a subclass of :"
"exc:`Exception`."
msgstr ""
#: ../Doc/library/httplib.rst:136 ../Doc/library/httplib.rst:151
#: ../Doc/library/httplib.rst:158 ../Doc/library/httplib.rst:165
#: ../Doc/library/httplib.rst:172 ../Doc/library/httplib.rst:179
msgid "A subclass of :exc:`HTTPException`."
msgstr ""
#: ../Doc/library/httplib.rst:143
msgid ""
"A subclass of :exc:`HTTPException`, raised if a port is given and is either "
"non-numeric or empty."
msgstr ""
#: ../Doc/library/httplib.rst:186 ../Doc/library/httplib.rst:193
#: ../Doc/library/httplib.rst:200
msgid "A subclass of :exc:`ImproperConnectionState`."
msgstr ""
#: ../Doc/library/httplib.rst:207
msgid ""
"A subclass of :exc:`HTTPException`. Raised if a server responds with a HTTP "
"status code that we don't understand."
msgstr ""
#: ../Doc/library/httplib.rst:212
msgid "The constants defined in this module are:"
msgstr "Les constantes définies dans ce module sont :"
#: ../Doc/library/httplib.rst:217
msgid "The default port for the HTTP protocol (always ``80``)."
msgstr ""
#: ../Doc/library/httplib.rst:222
msgid "The default port for the HTTPS protocol (always ``443``)."
msgstr ""
#: ../Doc/library/httplib.rst:224
msgid "and also the following constants for integer status codes:"
msgstr ""
#: ../Doc/library/httplib.rst:227
msgid "Constant"
msgstr "Constante"
#: ../Doc/library/httplib.rst:227
msgid "Value"
msgstr "Valeur"
#: ../Doc/library/httplib.rst:227
msgid "Definition"
msgstr ""
#: ../Doc/library/httplib.rst:229
msgid ":const:`CONTINUE`"
msgstr ""
#: ../Doc/library/httplib.rst:229
msgid "``100``"
msgstr "``100``"
#: ../Doc/library/httplib.rst:229
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.1.1 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.1.1>`_"
msgstr ""
#: ../Doc/library/httplib.rst:233
msgid ":const:`SWITCHING_PROTOCOLS`"
msgstr ""
#: ../Doc/library/httplib.rst:233
msgid "``101``"
msgstr "``101``"
#: ../Doc/library/httplib.rst:233
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.1.2 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.1.2>`_"
msgstr ""
#: ../Doc/library/httplib.rst:237
msgid ":const:`PROCESSING`"
msgstr ""
#: ../Doc/library/httplib.rst:237
msgid "``102``"
msgstr "``102``"
#: ../Doc/library/httplib.rst:237
msgid ""
"WEBDAV, `RFC 2518, Section 10.1 <http://www.webdav.org/specs/rfc2518."
"html#STATUS_102>`_"
msgstr ""
#: ../Doc/library/httplib.rst:240
msgid ":const:`OK`"
msgstr ""
#: ../Doc/library/httplib.rst:240
msgid "``200``"
msgstr "``200``"
#: ../Doc/library/httplib.rst:240
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.1 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.1>`_"
msgstr ""
#: ../Doc/library/httplib.rst:244
msgid ":const:`CREATED`"
msgstr ""
#: ../Doc/library/httplib.rst:244
msgid "``201``"
msgstr "``201``"
#: ../Doc/library/httplib.rst:244
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.2 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.2>`_"
msgstr ""
#: ../Doc/library/httplib.rst:248
msgid ":const:`ACCEPTED`"
msgstr ""
#: ../Doc/library/httplib.rst:248
msgid "``202``"
msgstr "``202``"
#: ../Doc/library/httplib.rst:248
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.3 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.3>`_"
msgstr ""
#: ../Doc/library/httplib.rst:252
msgid ":const:`NON_AUTHORITATIVE_INFORMATION`"
msgstr ""
#: ../Doc/library/httplib.rst:252
msgid "``203``"
msgstr "``203``"
#: ../Doc/library/httplib.rst:252
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.4 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.4>`_"
msgstr ""
#: ../Doc/library/httplib.rst:256
msgid ":const:`NO_CONTENT`"
msgstr ""
#: ../Doc/library/httplib.rst:256
msgid "``204``"
msgstr "``204``"
#: ../Doc/library/httplib.rst:256
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.5 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.5>`_"
msgstr ""
#: ../Doc/library/httplib.rst:260
msgid ":const:`RESET_CONTENT`"
msgstr ""
#: ../Doc/library/httplib.rst:260
msgid "``205``"
msgstr "``205``"
#: ../Doc/library/httplib.rst:260
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.6 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.6>`_"
msgstr ""
#: ../Doc/library/httplib.rst:264
msgid ":const:`PARTIAL_CONTENT`"
msgstr ""
#: ../Doc/library/httplib.rst:264
msgid "``206``"
msgstr "``206``"
#: ../Doc/library/httplib.rst:264
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.2.7 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.2.7>`_"
msgstr ""
#: ../Doc/library/httplib.rst:268
msgid ":const:`MULTI_STATUS`"
msgstr ""
#: ../Doc/library/httplib.rst:268
msgid "``207``"
msgstr "``207``"
#: ../Doc/library/httplib.rst:268
msgid ""
"WEBDAV `RFC 2518, Section 10.2 <http://www.webdav.org/specs/rfc2518."
"html#STATUS_207>`_"
msgstr ""
#: ../Doc/library/httplib.rst:271
msgid ":const:`IM_USED`"
msgstr ""
#: ../Doc/library/httplib.rst:271
msgid "``226``"
msgstr "``226``"
#: ../Doc/library/httplib.rst:271
msgid "Delta encoding in HTTP, :rfc:`3229`, Section 10.4.1"
msgstr ""
#: ../Doc/library/httplib.rst:274
msgid ":const:`MULTIPLE_CHOICES`"
msgstr ""
#: ../Doc/library/httplib.rst:274
msgid "``300``"
msgstr "``300``"
#: ../Doc/library/httplib.rst:274
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.1 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.1>`_"
msgstr ""
#: ../Doc/library/httplib.rst:278
msgid ":const:`MOVED_PERMANENTLY`"
msgstr ""
#: ../Doc/library/httplib.rst:278
msgid "``301``"
msgstr "``301``"
#: ../Doc/library/httplib.rst:278
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.2 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.2>`_"
msgstr ""
#: ../Doc/library/httplib.rst:282
msgid ":const:`FOUND`"
msgstr ""
#: ../Doc/library/httplib.rst:282
msgid "``302``"
msgstr "``302``"
#: ../Doc/library/httplib.rst:282
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.3 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.3>`_"
msgstr ""
#: ../Doc/library/httplib.rst:286
msgid ":const:`SEE_OTHER`"
msgstr ""
#: ../Doc/library/httplib.rst:286
msgid "``303``"
msgstr "``303``"
#: ../Doc/library/httplib.rst:286
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.4 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.4>`_"
msgstr ""
#: ../Doc/library/httplib.rst:290
msgid ":const:`NOT_MODIFIED`"
msgstr ""
#: ../Doc/library/httplib.rst:290
msgid "``304``"
msgstr "``304``"
#: ../Doc/library/httplib.rst:290
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.5 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.5>`_"
msgstr ""
#: ../Doc/library/httplib.rst:294
msgid ":const:`USE_PROXY`"
msgstr ""
#: ../Doc/library/httplib.rst:294
msgid "``305``"
msgstr "``305``"
#: ../Doc/library/httplib.rst:294
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.6 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.6>`_"
msgstr ""
#: ../Doc/library/httplib.rst:298
msgid ":const:`TEMPORARY_REDIRECT`"
msgstr ""
#: ../Doc/library/httplib.rst:298
msgid "``307``"
msgstr "``307``"
#: ../Doc/library/httplib.rst:298
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.3.8 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.3.8>`_"
msgstr ""
#: ../Doc/library/httplib.rst:302
msgid ":const:`BAD_REQUEST`"
msgstr ""
#: ../Doc/library/httplib.rst:302
msgid "``400``"
msgstr "``400``"
#: ../Doc/library/httplib.rst:302
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.1 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.1>`_"
msgstr ""
#: ../Doc/library/httplib.rst:306
msgid ":const:`UNAUTHORIZED`"
msgstr ""
#: ../Doc/library/httplib.rst:306
msgid "``401``"
msgstr "``401``"
#: ../Doc/library/httplib.rst:306
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.2 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.2>`_"
msgstr ""
#: ../Doc/library/httplib.rst:310
msgid ":const:`PAYMENT_REQUIRED`"
msgstr ""
#: ../Doc/library/httplib.rst:310
msgid "``402``"
msgstr "``402``"
#: ../Doc/library/httplib.rst:310
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.3 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.3>`_"
msgstr ""
#: ../Doc/library/httplib.rst:314
msgid ":const:`FORBIDDEN`"
msgstr ""
#: ../Doc/library/httplib.rst:314
msgid "``403``"
msgstr "``403``"
#: ../Doc/library/httplib.rst:314
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.4 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.4>`_"
msgstr ""
#: ../Doc/library/httplib.rst:318
msgid ":const:`NOT_FOUND`"
msgstr ""
#: ../Doc/library/httplib.rst:318
msgid "``404``"
msgstr "``404``"
#: ../Doc/library/httplib.rst:318
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.5 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.5>`_"
msgstr ""
#: ../Doc/library/httplib.rst:322
msgid ":const:`METHOD_NOT_ALLOWED`"
msgstr ""
#: ../Doc/library/httplib.rst:322
msgid "``405``"
msgstr "``405``"
#: ../Doc/library/httplib.rst:322
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.6 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.6>`_"
msgstr ""
#: ../Doc/library/httplib.rst:326
msgid ":const:`NOT_ACCEPTABLE`"
msgstr ""
#: ../Doc/library/httplib.rst:326
msgid "``406``"
msgstr "``406``"
#: ../Doc/library/httplib.rst:326
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.7 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.7>`_"
msgstr ""
#: ../Doc/library/httplib.rst:330
msgid ":const:`PROXY_AUTHENTICATION_REQUIRED`"
msgstr ""
#: ../Doc/library/httplib.rst:330
msgid "``407``"
msgstr "``407``"
#: ../Doc/library/httplib.rst:330
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.8 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.8>`_"
msgstr ""
#: ../Doc/library/httplib.rst:334
msgid ":const:`REQUEST_TIMEOUT`"
msgstr ""
#: ../Doc/library/httplib.rst:334
msgid "``408``"
msgstr "``408``"
#: ../Doc/library/httplib.rst:334
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.9 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.9>`_"
msgstr ""
#: ../Doc/library/httplib.rst:338
msgid ":const:`CONFLICT`"
msgstr ""
#: ../Doc/library/httplib.rst:338
msgid "``409``"
msgstr "``409``"
#: ../Doc/library/httplib.rst:338
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.10 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.10>`_"
msgstr ""
#: ../Doc/library/httplib.rst:342
msgid ":const:`GONE`"
msgstr ""
#: ../Doc/library/httplib.rst:342
msgid "``410``"
msgstr "``410``"
#: ../Doc/library/httplib.rst:342
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.11 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.11>`_"
msgstr ""
#: ../Doc/library/httplib.rst:346
msgid ":const:`LENGTH_REQUIRED`"
msgstr ""
#: ../Doc/library/httplib.rst:346
msgid "``411``"
msgstr "``411``"
#: ../Doc/library/httplib.rst:346
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.12 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.12>`_"
msgstr ""
#: ../Doc/library/httplib.rst:350
msgid ":const:`PRECONDITION_FAILED`"
msgstr ""
#: ../Doc/library/httplib.rst:350
msgid "``412``"
msgstr "``412``"
#: ../Doc/library/httplib.rst:350
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.13 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.13>`_"
msgstr ""
#: ../Doc/library/httplib.rst:354
msgid ":const:`REQUEST_ENTITY_TOO_LARGE`"
msgstr ""
#: ../Doc/library/httplib.rst:354
msgid "``413``"
msgstr "``413``"
#: ../Doc/library/httplib.rst:354
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.14 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.14>`_"
msgstr ""
#: ../Doc/library/httplib.rst:358
msgid ":const:`REQUEST_URI_TOO_LONG`"
msgstr ""
#: ../Doc/library/httplib.rst:358
msgid "``414``"
msgstr "``414``"
#: ../Doc/library/httplib.rst:358
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.15 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.15>`_"
msgstr ""
#: ../Doc/library/httplib.rst:362
msgid ":const:`UNSUPPORTED_MEDIA_TYPE`"
msgstr ""
#: ../Doc/library/httplib.rst:362
msgid "``415``"
msgstr "``415``"
#: ../Doc/library/httplib.rst:362
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.16 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.16>`_"
msgstr ""
#: ../Doc/library/httplib.rst:366
msgid ":const:`REQUESTED_RANGE_NOT_SATISFIABLE`"
msgstr ""
#: ../Doc/library/httplib.rst:366
msgid "``416``"
msgstr "``416``"
#: ../Doc/library/httplib.rst:366
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.17 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.17>`_"
msgstr ""
#: ../Doc/library/httplib.rst:370
msgid ":const:`EXPECTATION_FAILED`"
msgstr ""
#: ../Doc/library/httplib.rst:370
msgid "``417``"
msgstr "``417``"
#: ../Doc/library/httplib.rst:370
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.4.18 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.4.18>`_"
msgstr ""
#: ../Doc/library/httplib.rst:374
msgid ":const:`UNPROCESSABLE_ENTITY`"
msgstr ""
#: ../Doc/library/httplib.rst:374
msgid "``422``"
msgstr "``422``"
#: ../Doc/library/httplib.rst:374
msgid ""
"WEBDAV, `RFC 2518, Section 10.3 <http://www.webdav.org/specs/rfc2518."
"html#STATUS_422>`_"
msgstr ""
#: ../Doc/library/httplib.rst:377
msgid ":const:`LOCKED`"
msgstr ""
#: ../Doc/library/httplib.rst:377
msgid "``423``"
msgstr "``423``"
#: ../Doc/library/httplib.rst:377
msgid ""
"WEBDAV `RFC 2518, Section 10.4 <http://www.webdav.org/specs/rfc2518."
"html#STATUS_423>`_"
msgstr ""
#: ../Doc/library/httplib.rst:380
msgid ":const:`FAILED_DEPENDENCY`"
msgstr ""
#: ../Doc/library/httplib.rst:380
msgid "``424``"
msgstr "``424``"
#: ../Doc/library/httplib.rst:380
msgid ""
"WEBDAV, `RFC 2518, Section 10.5 <http://www.webdav.org/specs/rfc2518."
"html#STATUS_424>`_"
msgstr ""
#: ../Doc/library/httplib.rst:383
msgid ":const:`UPGRADE_REQUIRED`"
msgstr ""
#: ../Doc/library/httplib.rst:383
msgid "``426``"
msgstr "``426``"
#: ../Doc/library/httplib.rst:383
msgid "HTTP Upgrade to TLS, :rfc:`2817`, Section 6"
msgstr ""
#: ../Doc/library/httplib.rst:386
msgid ":const:`INTERNAL_SERVER_ERROR`"
msgstr ""
#: ../Doc/library/httplib.rst:386
msgid "``500``"
msgstr "``500``"
#: ../Doc/library/httplib.rst:386
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.5.1 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.5.1>`_"
msgstr ""
#: ../Doc/library/httplib.rst:390
msgid ":const:`NOT_IMPLEMENTED`"
msgstr ""
#: ../Doc/library/httplib.rst:390
msgid "``501``"
msgstr "``501``"
#: ../Doc/library/httplib.rst:390
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.5.2 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.5.2>`_"
msgstr ""
#: ../Doc/library/httplib.rst:394
msgid ":const:`BAD_GATEWAY`"
msgstr ""
#: ../Doc/library/httplib.rst:394
msgid "``502``"
msgstr "``502``"
#: ../Doc/library/httplib.rst:394
msgid ""
"HTTP/1.1 `RFC 2616, Section 10.5.3 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.5.3>`_"
msgstr ""
#: ../Doc/library/httplib.rst:398
msgid ":const:`SERVICE_UNAVAILABLE`"
msgstr ""
#: ../Doc/library/httplib.rst:398
msgid "``503``"
msgstr "``503``"
#: ../Doc/library/httplib.rst:398
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.5.4 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.5.4>`_"
msgstr ""
#: ../Doc/library/httplib.rst:402
msgid ":const:`GATEWAY_TIMEOUT`"
msgstr ""
#: ../Doc/library/httplib.rst:402
msgid "``504``"
msgstr "``504``"
#: ../Doc/library/httplib.rst:402
msgid ""
"HTTP/1.1 `RFC 2616, Section 10.5.5 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.5.5>`_"
msgstr ""
#: ../Doc/library/httplib.rst:406
msgid ":const:`HTTP_VERSION_NOT_SUPPORTED`"
msgstr ""
#: ../Doc/library/httplib.rst:406
msgid "``505``"
msgstr "``505``"
#: ../Doc/library/httplib.rst:406
msgid ""
"HTTP/1.1, `RFC 2616, Section 10.5.6 <http://www.w3.org/Protocols/rfc2616/"
"rfc2616-sec10.html#sec10.5.6>`_"
msgstr ""
#: ../Doc/library/httplib.rst:410
msgid ":const:`INSUFFICIENT_STORAGE`"
msgstr ""
#: ../Doc/library/httplib.rst:410
msgid "``507``"
msgstr "``507``"
#: ../Doc/library/httplib.rst:410
msgid ""
"WEBDAV, `RFC 2518, Section 10.6 <http://www.webdav.org/specs/rfc2518."
"html#STATUS_507>`_"
msgstr ""
#: ../Doc/library/httplib.rst:413
msgid ":const:`NOT_EXTENDED`"
msgstr ""
#: ../Doc/library/httplib.rst:413
msgid "``510``"
msgstr "``510``"
#: ../Doc/library/httplib.rst:413
msgid "An HTTP Extension Framework, :rfc:`2774`, Section 7"
msgstr ""
#: ../Doc/library/httplib.rst:420
msgid "This dictionary maps the HTTP 1.1 status codes to the W3C names."
msgstr ""
#: ../Doc/library/httplib.rst:422
msgid "Example: ``httplib.responses[httplib.NOT_FOUND]`` is ``'Not Found'``."
msgstr ""
#: ../Doc/library/httplib.rst:430
msgid "HTTPConnection Objects"
msgstr ""
#: ../Doc/library/httplib.rst:432
msgid ":class:`HTTPConnection` instances have the following methods:"
msgstr ""
#: ../Doc/library/httplib.rst:437
msgid ""
"This will send a request to the server using the HTTP request method "
"*method* and the selector *url*. If the *body* argument is present, it "
"should be a string of data to send after the headers are finished. "
"Alternatively, it may be an open file object, in which case the contents of "
"the file is sent; this file object should support ``fileno()`` and "
"``read()`` methods. The *headers* argument should be a mapping of extra HTTP "
"headers to send with the request."
msgstr ""
#: ../Doc/library/httplib.rst:445
msgid ""
"If one is not provided in *headers*, a ``Content-Length`` header is added "
"automatically for all methods if the length of the body can be determined, "
"either from the length of the ``str`` representation, or from the reported "
"size of the file on disk. If *body* is ``None`` the header is not set except "
"for methods that expect a body (``PUT``, ``POST``, and ``PATCH``) in which "
"case it is set to ``0``."
msgstr ""
#: ../Doc/library/httplib.rst:452
msgid "*body* can be a file object."
msgstr ""
#: ../Doc/library/httplib.rst:458
msgid ""
"Should be called after a request is sent to get the response from the "
"server. Returns an :class:`HTTPResponse` instance."
msgstr ""
#: ../Doc/library/httplib.rst:463
msgid ""
"Note that you must have read the whole response before you can send a new "
"request to the server."
msgstr ""
#: ../Doc/library/httplib.rst:469
msgid ""
"Set the debugging level (the amount of debugging output printed). The "
"default debug level is ``0``, meaning no debugging output is printed."
msgstr ""
#: ../Doc/library/httplib.rst:475
msgid ""
"Set the host and the port for HTTP Connect Tunnelling. Normally used when it "
"is required to do HTTPS Conection through a proxy server."
msgstr ""
#: ../Doc/library/httplib.rst:478
msgid ""
"The headers argument should be a mapping of extra HTTP headers to send with "
"the CONNECT request."
msgstr ""
#: ../Doc/library/httplib.rst:486
msgid "Connect to the server specified when the object was created."
msgstr ""
#: ../Doc/library/httplib.rst:491
msgid "Close the connection to the server."
msgstr ""
#: ../Doc/library/httplib.rst:493
msgid ""
"As an alternative to using the :meth:`request` method described above, you "
"can also send your request step by step, by using the four functions below."
msgstr ""
#: ../Doc/library/httplib.rst:499
msgid ""
"This should be the first call after the connection to the server has been "
"made. It sends a line to the server consisting of the *request* string, the "
"*selector* string, and the HTTP version (``HTTP/1.1``). To disable "
"automatic sending of ``Host:`` or ``Accept-Encoding:`` headers (for example "
"to accept additional content encodings), specify *skip_host* or "
"*skip_accept_encoding* with non-False values."
msgstr ""
#: ../Doc/library/httplib.rst:506
msgid "*skip_accept_encoding* argument added."
msgstr ""
#: ../Doc/library/httplib.rst:512
msgid ""
"Send an :rfc:`822`\\ -style header to the server. It sends a line to the "
"server consisting of the header, a colon and a space, and the first "
"argument. If more arguments are given, continuation lines are sent, each "
"consisting of a tab and an argument."
msgstr ""
#: ../Doc/library/httplib.rst:520
msgid ""
"Send a blank line to the server, signalling the end of the headers. The "
"optional *message_body* argument can be used to pass a message body "
"associated with the request. The message body will be sent in the same "
"packet as the message headers if it is string, otherwise it is sent in a "
"separate packet."
msgstr ""
#: ../Doc/library/httplib.rst:526
msgid "*message_body* was added."
msgstr ""
#: ../Doc/library/httplib.rst:532
msgid ""
"Send data to the server. This should be used directly only after the :meth:"
"`endheaders` method has been called and before :meth:`getresponse` is called."
msgstr ""
#: ../Doc/library/httplib.rst:540
msgid "HTTPResponse Objects"
msgstr ""
#: ../Doc/library/httplib.rst:542
msgid ""
":class:`HTTPResponse` instances have the following methods and attributes:"
msgstr ""
#: ../Doc/library/httplib.rst:547
msgid "Reads and returns the response body, or up to the next *amt* bytes."
msgstr ""
#: ../Doc/library/httplib.rst:552
msgid ""
"Get the contents of the header *name*, or *default* if there is no matching "
"header."
msgstr ""
#: ../Doc/library/httplib.rst:558
msgid "Return a list of (header, value) tuples."
msgstr ""
#: ../Doc/library/httplib.rst:564
msgid "Returns the ``fileno`` of the underlying socket."
msgstr ""
#: ../Doc/library/httplib.rst:568
msgid "A :class:`mimetools.Message` instance containing the response headers."
msgstr ""
#: ../Doc/library/httplib.rst:573
msgid ""
"HTTP protocol version used by server. 10 for HTTP/1.0, 11 for HTTP/1.1."
msgstr ""
#: ../Doc/library/httplib.rst:578
msgid "Status code returned by server."
msgstr ""
#: ../Doc/library/httplib.rst:583
msgid "Reason phrase returned by server."
msgstr ""
#: ../Doc/library/httplib.rst:589
msgid "Examples"
msgstr "Exemples"
#: ../Doc/library/httplib.rst:591
msgid "Here is an example session that uses the ``GET`` method::"
msgstr ""
#: ../Doc/library/httplib.rst:607
msgid ""
"Here is an example session that uses the ``HEAD`` method. Note that the "
"``HEAD`` method never returns any data. ::"
msgstr ""
#: ../Doc/library/httplib.rst:622
msgid "Here is an example session that shows how to ``POST`` requests::"
msgstr ""
#: ../Doc/library/httplib.rst:638
msgid ""
"Client side ``HTTP PUT`` requests are very similar to ``POST`` requests. The "
"difference lies only the server side where HTTP server will allow resources "
"to be created via ``PUT`` request. Here is an example session that shows how "
"to do ``PUT`` request using httplib::"
msgstr ""