Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf8229 commit 2717449Copy full SHA for 2717449
1 file changed
library/urllib.request.po
@@ -1212,6 +1212,11 @@ msgid ""
1212
"raise :exc:`~urllib.error.HTTPError` if no other handler should try to "
1213
"handle this URL, or return ``None`` if you can't but another handler might."
1214
msgstr ""
1215
+"返回 :class:`Request` 或 ``None`` 对象作为重定向行为的响应。当服务器接收到重定向请求时, "
1216
+":meth:`http_error_30\\*` 方法的默认实现代码将会调用本方法。如果确实应该发生重定向,则返回一个新的 "
1217
+":class:`Request` 对象,使得 :meth:`http_error_30\\*` 能重定向至 *newurl*。否则,若没有 "
1218
+"handler 会处理此 URL,则会引发 :exc:`~urllib.error.HTTPError`;或者本方法不能处理但或许会有其他 "
1219
+"handler 会处理,则返回 ``None`` 。 "
1220
1221
#: ../../library/urllib.request.rst:848
1222
msgid ""
0 commit comments