File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- {"translation" : " 91.59%" , "updated_at" : " 2024-02-25T09:20:44Z " }
1+ {"translation" : " 91.59%" , "updated_at" : " 2024-02-26T02:25:45Z " }
Original file line number Diff line number Diff line change @@ -1732,6 +1732,8 @@ msgid ""
17321732"status codes, reason phrases and long descriptions written in English. "
17331733"(Contributed by Demian Brecht in :issue:`21793`.)"
17341734msgstr ""
1735+ "新增的 :class:`HTTPStatus <http.HTTPStatus>` 枚举定义了一组 HTTP 状态码、英文短说明和长描述。 (由 "
1736+ "Demian Brecht 在 :issue:`21793` 中贡献。)"
17351737
17361738#: ../../whatsnew/3.5.rst:1201
17371739msgid "http.client"
@@ -1747,6 +1749,10 @@ msgid ""
17471749"raised, the client socket is now closed automatically, and will reconnect on"
17481750" the next request::"
17491751msgstr ""
1752+ "现在 :meth:`HTTPConnection.getresponse() "
1753+ "<http.client.HTTPConnection.getresponse>` 在远程服务器连接被意外关闭时会引发 "
1754+ ":exc:`~http.client.RemoteDisconnected` 异常。 此外,如果引发了 :exc:`ConnectionError` "
1755+ "(``RemoteDisconnected`` 是其子类),客户端套接字现在会自动关闭,并将在下次请求时重新连接::"
17501756
17511757#: ../../whatsnew/3.5.rst:1219
17521758msgid "(Contributed by Martin Panter in :issue:`3566`.)"
You can’t perform that action at this time.
0 commit comments