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

Skip to content

Commit add39a9

Browse files
[po] auto sync
1 parent 306eb0a commit add39a9

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
@@ -191,13 +191,17 @@ msgid ""
191191
"format is multiple whitespace-separated strings, where each string is of the"
192192
" form name[/version]. For example, ``'BaseHTTP/0.2'``."
193193
msgstr ""
194+
"指定服务器软件版本。 你可能会想要重载该属性。 该属性的格式为多个以空格分隔的字符串,其中每个字符串的形式为 name[/version]。 例如 "
195+
"``'BaseHTTP/0.2'``。"
194196

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

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

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

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

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

0 commit comments

Comments
 (0)