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

Skip to content

Commit 8d19bdc

Browse files
[po] auto sync
1 parent f0453e1 commit 8d19bdc

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

library/http.server.po

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

196198
#: ../../library/http.server.rst:142
197199
msgid ""
198200
"Contains the Python system version, in a form usable by the "
199201
":attr:`version_string` method and the :attr:`server_version` class variable."
200202
" For example, ``'Python/1.4'``."
201203
msgstr ""
204+
"包含 Python 系统版本,采用 :attr:`version_string` 方法和 :attr:`server_version` "
205+
"类变量所支持的形式。 例如 ``'Python/1.4'``。"
202206

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

211217
#: ../../library/http.server.rst:155
212218
msgid ""
213219
"Specifies the Content-Type HTTP header of error responses sent to the "
214220
"client. The default value is ``'text/html'``."
215-
msgstr ""
221+
msgstr "指定发送给客户端的错误响应的 Content-Type HTTP 标头。 默认值为 ``'text/html'``。"
216222

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

226235
#: ../../library/http.server.rst:168
227236
msgid ""

0 commit comments

Comments
 (0)