@@ -17,9 +17,8 @@ msgstr ""
1717"Generated-By : Babel 2.17.0\n "
1818
1919#: ../../library/http.cookies.rst:2
20- #, fuzzy
2120msgid ":mod:`!http.cookies` --- HTTP state management"
22- msgstr ":mod:`http.cookies` --- HTTP 상태 관리"
21+ msgstr ":mod:`! http.cookies` --- HTTP 상태 관리"
2322
2423#: ../../library/http.cookies.rst:10
2524msgid "**Source code:** :source:`Lib/http/cookies.py`"
@@ -36,7 +35,6 @@ msgstr ""
3635"단순한 문자열 전용 쿠키를 지원하고, 동시에 직렬화 가능한 데이터형을 쿠키값으로 갖는 데 필요한 추상화를 제공합니다."
3736
3837#: ../../library/http.cookies.rst:19
39- #, fuzzy
4038msgid ""
4139"The module formerly strictly applied the parsing rules described in the "
4240":rfc:`2109` and :rfc:`2068` specifications. It has since been discovered"
@@ -46,11 +44,11 @@ msgid ""
4644"uses parsing rules that are a bit less strict than they once were."
4745msgstr ""
4846"이 모듈은 예전에는 :rfc:`2109`\\ 와 :rfc:`2068` 명세에서 설명된 구문 분석 규칙을 엄격하게 적용했습니다. 그 "
49- "이후로 MSIE 3.0x가 이 명세에 명시된 문자 규칙을 따르지 않으며 쿠키 처리와 관련하여 오늘날의 많은 브라우저와 서버가 구문 "
50- "분석 규칙을 완화했다는 사실이 발견되었습니다. 결과적으로, 사용되는 구문 분석 규칙은 약간 덜 엄격합니다."
47+ "이후로 MSIE 3.0x가 이 명세에 명시된 문자 규칙을 따르지 않았으며; 쿠키 처리와 관련하여 오늘날의 많은 브라우저와 서버 또한"
48+ " 구문 분석 규칙을 완화했다는 사실이 발견되었습니다. 결과적으로, 이제 이 모듈은 이전보다 약간 덜 엄격한 구문 분석 규칙을 "
49+ "사용합니다."
5150
5251#: ../../library/http.cookies.rst:26
53- #, fuzzy
5452msgid ""
5553"The character set, :data:`string.ascii_letters`, :data:`string.digits` "
5654"and ``!#$%&'*+-.^_`|~:`` denote the set of valid characters allowed by "
@@ -61,7 +59,6 @@ msgstr ""
6159"나타냅니다."
6260
6361#: ../../library/http.cookies.rst:30
64- #, fuzzy
6562msgid "Allowed ':' as a valid cookie name character."
6663msgstr "':'를 유효한 쿠키 이름 문자로 허용합니다."
6764
@@ -95,7 +92,6 @@ msgid "If *input* is given, it is passed to the :meth:`load` method."
9592msgstr "*input*\\ 이 주어지면, :meth:`load` 메서드로 전달됩니다."
9693
9794#: ../../library/http.cookies.rst:58
98- #, fuzzy
9995msgid ""
10096"This class derives from :class:`BaseCookie` and overrides "
10197":meth:`~BaseCookie.value_decode` and :meth:`~BaseCookie.value_encode`. "
@@ -104,10 +100,10 @@ msgid ""
104100"convert the value to a string. Values received from HTTP are kept as "
105101"strings."
106102msgstr ""
107- "이 클래스는 :class:`BaseCookie`\\ 에서 파생되며 :meth:`value_decode`\\ 와 "
108- ":meth:`value_encode`\\ 를 재정의합니다. SimpleCookie는 문자열 쿠키값을 지원합니다. 값을 설정할 때, "
109- "SimpleCookie는 내장 :func:`str() `\\ 을 호출하여 값을 문자열로 변환합니다. HTTP에서 수신된 값은 문자열로 "
110- "유지됩니다."
103+ "이 클래스는 :class:`BaseCookie`\\ 에서 파생되며 :meth:`~BaseCookie. value_decode`\\ 와 "
104+ ":meth:`~BaseCookie. value_encode`\\ 를 재정의합니다. :class:`!SimpleCookie` \\ 는 문자열"
105+ " 쿠키값을 지원합니다. 값을 설정할 때, :class:`!SimpleCookie` \\ 는 내장 :func:`str`\\ 을 호출하여 "
106+ "값을 문자열로 변환합니다. HTTP에서 수신된 값은 문자열로 유지됩니다."
111107
112108#: ../../library/http.cookies.rst:66
113109msgid "Module :mod:`http.cookiejar`"
@@ -162,16 +158,15 @@ msgstr ""
162158"범위에서 역연산입니다."
163159
164160#: ../../library/http.cookies.rst:100
165- #, fuzzy
166161msgid ""
167162"Return a string representation suitable to be sent as HTTP headers. "
168163"*attrs* and *header* are sent to each :class:`Morsel`'s "
169164":meth:`~Morsel.output` method. *sep* is used to join the headers "
170165"together, and is by default the combination ``'\\ r\\ n'`` (CRLF)."
171166msgstr ""
172167"HTTP 헤더로서 송신하기 적절한 문자열 표현을 반환합니다. *attrs*\\ 와 *header*\\ 는 각 "
173- ":class:`Morsel`\\ 의 :meth:`output` 메서드로 전송됩니다. *sep*\\ 는 헤더를 함께 결합하는 데 "
174- "사용되며, 기본적으로 ``'\\ r\\ n'`` (CRLF) 조합입니다."
168+ ":class:`Morsel`\\ 의 :meth:`~Morsel. output` 메서드로 전송됩니다. *sep*\\ 는 헤더를 함께 "
169+ "결합하는 데 사용되며, 기본적으로 ``'\\ r\\ n'`` (CRLF) 조합입니다."
175170
176171#: ../../library/http.cookies.rst:108
177172msgid ""
@@ -200,6 +195,8 @@ msgid ""
200195"for k, v in rawdata.items():\n"
201196" cookie[k] = v"
202197msgstr ""
198+ "for k, v in rawdata.items():\n"
199+ " cookie[k] = v"
203200
204201#: ../../library/http.cookies.rst:126
205202msgid "Morsel Objects"
@@ -210,11 +207,10 @@ msgid "Abstract a key/value pair, which has some :rfc:`2109` attributes."
210207msgstr ":rfc:`2109` 어트리뷰트를 포함하는 키/값 쌍을 추상화합니다."
211208
212209#: ../../library/http.cookies.rst:133
213- #, fuzzy
214210msgid ""
215211"Morsels are dictionary-like objects, whose set of keys is constant --- "
216212"the valid :rfc:`2109` attributes, which are:"
217- msgstr "Morsel은 딕셔너리류 객체이며, 키의 집합은 상수입니다 --- 다음과 같은 유효한 :rfc:`2109` 어트리뷰트입니다"
213+ msgstr "Morsel은 딕셔너리류 객체이며, 키의 집합은 상수입니다 --- 다음과 같은 유효한 :rfc:`2109` 어트리뷰트입니다: "
218214
219215#: ../../library/http.cookies.rst:146
220216msgid ""
@@ -240,13 +236,12 @@ msgid "The keys are case-insensitive and their default value is ``''``."
240236msgstr "키는 대소 문자를 구분하지 않으며 기본값은 ``''``\\ 입니다."
241237
242238#: ../../library/http.cookies.rst:156
243- #, fuzzy
244239msgid ""
245240":meth:`!__eq__` now takes :attr:`~Morsel.key` and :attr:`~Morsel.value` "
246241"into account."
247242msgstr ""
248- ":meth:`~Morsel. __eq__`\\ 는 이제 :attr:`~Morsel.key`\\ 와 "
249- ":attr:`~Morsel.value` \\ 를 고려합니다."
243+ ":meth:`! __eq__`\\ 는 이제 :attr:`~Morsel.key`\\ 와 :attr:`~Morsel.value` \\ 를 "
244+ "고려합니다."
250245
251246#: ../../library/http.cookies.rst:160
252247msgid ""
@@ -396,31 +391,50 @@ msgid ""
396391"Set-Cookie: number=7\n"
397392"Set-Cookie: string=seven"
398393msgstr ""
399-
400- #~ msgid "``expires``"
401- #~ msgstr "``expires``"
402-
403- #~ msgid "``path``"
404- #~ msgstr "``path``"
405-
406- #~ msgid "``comment``"
407- #~ msgstr "``comment``"
408-
409- #~ msgid "``domain``"
410- #~ msgstr "``domain``"
411-
412- #~ msgid "``max-age``"
413- #~ msgstr "``max-age``"
414-
415- #~ msgid "``secure``"
416- #~ msgstr "``secure``"
417-
418- #~ msgid "``version``"
419- #~ msgstr "``version``"
420-
421- #~ msgid "``httponly``"
422- #~ msgstr "``httponly``"
423-
424- #~ msgid "``samesite``"
425- #~ msgstr "``samesite``"
394+ ">>> from http import cookies\n"
395+ ">>> C = cookies.SimpleCookie()\n"
396+ ">>> C[\" fig\" ] = \" newton\" \n"
397+ ">>> C[\" sugar\" ] = \" wafer\" \n"
398+ ">>> print(C) # HTTP 헤더를 생성합니다\n"
399+ "Set-Cookie: fig=newton\n"
400+ "Set-Cookie: sugar=wafer\n"
401+ ">>> print(C.output()) # 마찬가지입니다\n"
402+ "Set-Cookie: fig=newton\n"
403+ "Set-Cookie: sugar=wafer\n"
404+ ">>> C = cookies.SimpleCookie()\n"
405+ ">>> C[\" rocky\" ] = \" road\" \n"
406+ ">>> C[\" rocky\" ][\" path\" ] = \" /cookie\" \n"
407+ ">>> print(C.output(header=\" Cookie:\" ))\n"
408+ "Cookie: rocky=road; Path=/cookie\n"
409+ ">>> print(C.output(attrs=[], header=\" Cookie:\" ))\n"
410+ "Cookie: rocky=road\n"
411+ ">>> C = cookies.SimpleCookie()\n"
412+ ">>> C.load(\" chips=ahoy; vienna=finger\" ) # 문자열에서 로드합니다 (HTTP 헤더)\n"
413+ ">>> print(C)\n"
414+ "Set-Cookie: chips=ahoy\n"
415+ "Set-Cookie: vienna=finger\n"
416+ ">>> C = cookies.SimpleCookie()\n"
417+ ">>> C.load('keebler=\" E=everybody; L=\\\\\" Loves\\\\\" ; "
418+ "fudge=\\\\ 012;\" ;')\n"
419+ ">>> print(C)\n"
420+ "Set-Cookie: keebler=\" E=everybody; L=\\\" Loves\\\" ; fudge=\\ 012;\" \n"
421+ ">>> C = cookies.SimpleCookie()\n"
422+ ">>> C[\" oreo\" ] = \" doublestuff\" \n"
423+ ">>> C[\" oreo\" ][\" path\" ] = \" /\" \n"
424+ ">>> print(C)\n"
425+ "Set-Cookie: oreo=doublestuff; Path=/\n"
426+ ">>> C = cookies.SimpleCookie()\n"
427+ ">>> C[\" twix\" ] = \" none for you\" \n"
428+ ">>> C[\" twix\" ].value\n"
429+ "'none for you'\n"
430+ ">>> C = cookies.SimpleCookie()\n"
431+ ">>> C[\" number\" ] = 7 # C[\" number\" ] = str(7) 과 동등합니다\n"
432+ ">>> C[\" string\" ] = \" seven\" \n"
433+ ">>> C[\" number\" ].value\n"
434+ "'7'\n"
435+ ">>> C[\" string\" ].value\n"
436+ "'seven'\n"
437+ ">>> print(C)\n"
438+ "Set-Cookie: number=7\n"
439+ "Set-Cookie: string=seven"
426440
0 commit comments