1
0
Fork 0
python-docs-fr/library/http.cookies.po

311 lines
9.2 KiB
Plaintext
Raw Normal View History

2016-10-30 09:46:26 +00:00
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-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 3.6\n"
"Report-Msgid-Bugs-To: \n"
2017-08-09 22:23:54 +00:00
"POT-Creation-Date: 2017-08-10 00:49+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/http.cookies.rst:2
msgid ":mod:`http.cookies` --- HTTP state management"
msgstr ""
#: ../Doc/library/http.cookies.rst:10
msgid "**Source code:** :source:`Lib/http/cookies.py`"
msgstr ""
#: ../Doc/library/http.cookies.rst:14
msgid ""
"The :mod:`http.cookies` module defines classes for abstracting the concept "
"of cookies, an HTTP state management mechanism. It supports both simple "
"string-only cookies, and provides an abstraction for having any serializable "
"data-type as cookie value."
msgstr ""
#: ../Doc/library/http.cookies.rst:19
msgid ""
"The module formerly strictly applied the parsing rules described in the :rfc:"
"`2109` and :rfc:`2068` specifications. It has since been discovered that "
"MSIE 3.0x doesn't follow the character rules outlined in those specs and "
"also many current day browsers and servers have relaxed parsing rules when "
"comes to Cookie handling. As a result, the parsing rules used are a bit "
"less strict."
msgstr ""
#: ../Doc/library/http.cookies.rst:25
msgid ""
"The character set, :data:`string.ascii_letters`, :data:`string.digits` and "
"``!#$%&'*+-.^_`|~:`` denote the set of valid characters allowed by this "
"module in Cookie name (as :attr:`~Morsel.key`)."
msgstr ""
#: ../Doc/library/http.cookies.rst:29
msgid "Allowed ':' as a valid Cookie name character."
msgstr ""
#: ../Doc/library/http.cookies.rst:35
msgid ""
"On encountering an invalid cookie, :exc:`CookieError` is raised, so if your "
"cookie data comes from a browser you should always prepare for invalid data "
"and catch :exc:`CookieError` on parsing."
msgstr ""
#: ../Doc/library/http.cookies.rst:42
msgid ""
"Exception failing because of :rfc:`2109` invalidity: incorrect attributes, "
"incorrect :mailheader:`Set-Cookie` header, etc."
msgstr ""
#: ../Doc/library/http.cookies.rst:48
msgid ""
"This class is a dictionary-like object whose keys are strings and whose "
"values are :class:`Morsel` instances. Note that upon setting a key to a "
"value, the value is first converted to a :class:`Morsel` containing the key "
"and the value."
msgstr ""
#: ../Doc/library/http.cookies.rst:52
msgid "If *input* is given, it is passed to the :meth:`load` method."
msgstr ""
#: ../Doc/library/http.cookies.rst:57
msgid ""
"This class derives from :class:`BaseCookie` and overrides :meth:"
"`value_decode` and :meth:`value_encode` to be the identity and :func:`str` "
"respectively."
msgstr ""
#: ../Doc/library/http.cookies.rst:65
msgid "Module :mod:`http.cookiejar`"
msgstr ""
#: ../Doc/library/http.cookies.rst:64
msgid ""
"HTTP cookie handling for web *clients*. The :mod:`http.cookiejar` and :mod:"
"`http.cookies` modules do not depend on each other."
msgstr ""
#: ../Doc/library/http.cookies.rst:67
msgid ":rfc:`2109` - HTTP State Management Mechanism"
msgstr ""
#: ../Doc/library/http.cookies.rst:68
msgid "This is the state management specification implemented by this module."
msgstr ""
#: ../Doc/library/http.cookies.rst:74
msgid "Cookie Objects"
msgstr ""
#: ../Doc/library/http.cookies.rst:79
msgid ""
"Return a decoded value from a string representation. Return value can be any "
"type. This method does nothing in :class:`BaseCookie` --- it exists so it "
"can be overridden."
msgstr ""
#: ../Doc/library/http.cookies.rst:86
msgid ""
"Return an encoded value. *val* can be any type, but return value must be a "
"string. This method does nothing in :class:`BaseCookie` --- it exists so it "
"can be overridden."
msgstr ""
#: ../Doc/library/http.cookies.rst:90
msgid ""
"In general, it should be the case that :meth:`value_encode` and :meth:"
"`value_decode` are inverses on the range of *value_decode*."
msgstr ""
#: ../Doc/library/http.cookies.rst:96
msgid ""
"Return a string representation suitable to be sent as HTTP headers. *attrs* "
"and *header* are sent to each :class:`Morsel`'s :meth:`output` method. *sep* "
"is used to join the headers together, and is by default the combination "
"``'\\r\\n'`` (CRLF)."
msgstr ""
#: ../Doc/library/http.cookies.rst:104
msgid ""
"Return an embeddable JavaScript snippet, which, if run on a browser which "
"supports JavaScript, will act the same as if the HTTP headers was sent."
msgstr ""
#: ../Doc/library/http.cookies.rst:107 ../Doc/library/http.cookies.rst:203
#: ../Doc/library/http.cookies.rst:211
msgid "The meaning for *attrs* is the same as in :meth:`output`."
msgstr ""
#: ../Doc/library/http.cookies.rst:112
msgid ""
"If *rawdata* is a string, parse it as an ``HTTP_COOKIE`` and add the values "
"found there as :class:`Morsel`\\ s. If it is a dictionary, it is equivalent "
"to::"
msgstr ""
#: ../Doc/library/http.cookies.rst:122
msgid "Morsel Objects"
msgstr ""
#: ../Doc/library/http.cookies.rst:127
msgid "Abstract a key/value pair, which has some :rfc:`2109` attributes."
msgstr ""
#: ../Doc/library/http.cookies.rst:129
msgid ""
"Morsels are dictionary-like objects, whose set of keys is constant --- the "
"valid :rfc:`2109` attributes, which are"
msgstr ""
#: ../Doc/library/http.cookies.rst:132
msgid "``expires``"
msgstr "``expires``"
#: ../Doc/library/http.cookies.rst:133
msgid "``path``"
msgstr "``path``"
#: ../Doc/library/http.cookies.rst:134
msgid "``comment``"
msgstr "``comment``"
#: ../Doc/library/http.cookies.rst:135
msgid "``domain``"
msgstr "``domain``"
#: ../Doc/library/http.cookies.rst:136
msgid "``max-age``"
msgstr "``max-age``"
#: ../Doc/library/http.cookies.rst:137
msgid "``secure``"
msgstr "``secure``"
#: ../Doc/library/http.cookies.rst:138
msgid "``version``"
msgstr "``version``"
#: ../Doc/library/http.cookies.rst:139
msgid "``httponly``"
msgstr "``httponly``"
#: ../Doc/library/http.cookies.rst:141
msgid ""
"The attribute :attr:`httponly` specifies that the cookie is only transferred "
"in HTTP requests, and is not accessible through JavaScript. This is intended "
"to mitigate some forms of cross-site scripting."
msgstr ""
#: ../Doc/library/http.cookies.rst:145
msgid "The keys are case-insensitive and their default value is ``''``."
msgstr ""
#: ../Doc/library/http.cookies.rst:147
msgid ""
":meth:`~Morsel.__eq__` now takes :attr:`~Morsel.key` and :attr:`~Morsel."
"value` into account."
msgstr ""
#: ../Doc/library/http.cookies.rst:154
msgid "The value of the cookie."
msgstr ""
#: ../Doc/library/http.cookies.rst:156
msgid "assigning to ``value``; use :meth:`~Morsel.set` instead."
msgstr ""
#: ../Doc/library/http.cookies.rst:162
msgid "The encoded value of the cookie --- this is what should be sent."
msgstr ""
#: ../Doc/library/http.cookies.rst:164
msgid "assigning to ``coded_value``; use :meth:`~Morsel.set` instead."
msgstr ""
#: ../Doc/library/http.cookies.rst:170
msgid "The name of the cookie."
msgstr ""
#: ../Doc/library/http.cookies.rst:172
msgid "assigning to ``key``; use :meth:`~Morsel.set` instead."
msgstr ""
#: ../Doc/library/http.cookies.rst:178
msgid "Set the *key*, *value* and *coded_value* attributes."
msgstr ""
#: ../Doc/library/http.cookies.rst:180
msgid ""
"The undocumented *LegalChars* parameter is ignored and will be removed in a "
"future version."
msgstr ""
#: ../Doc/library/http.cookies.rst:187
msgid "Whether *K* is a member of the set of keys of a :class:`Morsel`."
msgstr ""
#: ../Doc/library/http.cookies.rst:192
msgid ""
"Return a string representation of the Morsel, suitable to be sent as an HTTP "
"header. By default, all the attributes are included, unless *attrs* is "
"given, in which case it should be a list of attributes to use. *header* is "
"by default ``\"Set-Cookie:\"``."
msgstr ""
#: ../Doc/library/http.cookies.rst:200
msgid ""
"Return an embeddable JavaScript snippet, which, if run on a browser which "
"supports JavaScript, will act the same as if the HTTP header was sent."
msgstr ""
#: ../Doc/library/http.cookies.rst:208
msgid ""
"Return a string representing the Morsel, without any surrounding HTTP or "
"JavaScript."
msgstr ""
#: ../Doc/library/http.cookies.rst:216
msgid ""
"Update the values in the Morsel dictionary with the values in the dictionary "
"*values*. Raise an error if any of the keys in the *values* dict is not a "
"valid :rfc:`2109` attribute."
msgstr ""
#: ../Doc/library/http.cookies.rst:220
msgid "an error is raised for invalid keys."
msgstr ""
#: ../Doc/library/http.cookies.rst:226
msgid "Return a shallow copy of the Morsel object."
msgstr ""
#: ../Doc/library/http.cookies.rst:228
msgid "return a Morsel object instead of a dict."
msgstr ""
#: ../Doc/library/http.cookies.rst:234
msgid ""
"Raise an error if key is not a valid :rfc:`2109` attribute, otherwise behave "
"the same as :meth:`dict.setdefault`."
msgstr ""
#: ../Doc/library/http.cookies.rst:241
msgid "Example"
msgstr "Exemple"
#: ../Doc/library/http.cookies.rst:243
msgid ""
"The following example demonstrates how to use the :mod:`http.cookies` module."
msgstr ""