Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 124c9a5

Browse files
[po] auto sync
1 parent 16dcfe9 commit 124c9a5

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

library/http.server.po

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,17 @@ msgid ""
187187
"format is multiple whitespace-separated strings, where each string is of the"
188188
" form name[/version]. For example, ``'BaseHTTP/0.2'``."
189189
msgstr ""
190+
"指定服务器软件版本。 你可能会想要重载该属性。 该属性的格式为多个以空格分隔的字符串,其中每个字符串的形式为 name[/version]。 例如 "
191+
"``'BaseHTTP/0.2'``。"
190192

191193
#: ../../library/http.server.rst:139
192194
msgid ""
193195
"Contains the Python system version, in a form usable by the "
194196
":attr:`version_string` method and the :attr:`server_version` class variable."
195197
" For example, ``'Python/1.4'``."
196198
msgstr ""
199+
"包含 Python 系统版本,采用 :attr:`version_string` 方法和 :attr:`server_version` "
200+
"类变量所支持的形式。 例如 ``'Python/1.4'``。"
197201

198202
#: ../../library/http.server.rst:145
199203
msgid ""
@@ -202,12 +206,14 @@ msgid ""
202206
"default with variables from :attr:`responses` based on the status code that "
203207
"passed to :meth:`send_error`."
204208
msgstr ""
209+
"指定应当被 :meth:`send_error` 方法用来构建发给客户端的错误响应的格式字符串。 该字符串应使用来自 :attr:`responses`"
210+
" 的变量根据传给 :meth:`send_error` 的状态码来填充默认值。"
205211

206212
#: ../../library/http.server.rst:152
207213
msgid ""
208214
"Specifies the Content-Type HTTP header of error responses sent to the "
209215
"client. The default value is ``'text/html'``."
210-
msgstr ""
216+
msgstr "指定发送给客户端的错误响应的 Content-Type HTTP 标头。 默认值为 ``'text/html'``。"
211217

212218
#: ../../library/http.server.rst:157
213219
msgid ""
@@ -217,13 +223,18 @@ msgid ""
217223
"(using :meth:`send_header`) in all of its responses to clients. For "
218224
"backwards compatibility, the setting defaults to ``'HTTP/1.0'``."
219225
msgstr ""
226+
"该属性指定在响应中使用的 HTTP 协议版本。 如果设为 ``'HTTP/1.1'``,服务器将允许 HTTP 永久连接;但是,这样你的服务器 *必须*"
227+
" 在发给客户端的所有响应中包括一个准确的 ``Content-Length`` 标头 (使用 :meth:`send_header`)。 "
228+
"为了向下兼容,该设置默认为 ``'HTTP/1.0'``。"
220229

221230
#: ../../library/http.server.rst:165
222231
msgid ""
223232
"Specifies an :class:`email.message.Message`\\ -like class to parse HTTP "
224233
"headers. Typically, this is not overridden, and it defaults to "
225234
":class:`http.client.HTTPMessage`."
226235
msgstr ""
236+
"指定一个 :class:`email.message.Message` 这样的类来解析 HTTP 标头。 通常该属性不会被重载,其默认值为 "
237+
":class:`http.client.HTTPMessage`。"
227238

228239
#: ../../library/http.server.rst:171
229240
msgid ""

0 commit comments

Comments
 (0)