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

Skip to content

Commit 981c0fc

Browse files
[po] auto sync
1 parent e80540d commit 981c0fc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

library/wsgiref.po

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,13 +604,17 @@ msgid ""
604604
"Microsoft's IIS web server, without having set the config allowPathInfo "
605605
"option (IIS>=7) or metabase allowPathInfoForScriptMappings (IIS<7)."
606606
msgstr ""
607+
":class:`CGIHandler` 的一个专门化替代,用于在 Microsoft 的 IIS Web 服务器上部署,无需设置 config "
608+
"allowPathInfo 选项 (IIS>=7) 或 metabase allowPathInfoForScriptMappings (IIS<7)。"
607609

608610
#: ../../library/wsgiref.rst:472
609611
msgid ""
610612
"By default, IIS gives a ``PATH_INFO`` that duplicates the ``SCRIPT_NAME`` at"
611613
" the front, causing problems for WSGI applications that wish to implement "
612614
"routing. This handler strips any such duplicated path."
613615
msgstr ""
616+
"默认情况下,IIS 给出的 ``PATH_INFO`` 会与前面的 ``SCRIPT_NAME`` 重复,导致想要实现路由的 WSGI "
617+
"应用程序出现问题。 这个处理句柄会去除任何这样的重复路径。"
614618

615619
#: ../../library/wsgiref.rst:476
616620
msgid ""
@@ -630,6 +634,8 @@ msgid ""
630634
":class:`CGIHandler`, i.e., by calling ``IISCGIHandler().run(app)``, where "
631635
"``app`` is the WSGI application object you wish to invoke."
632636
msgstr ""
637+
"CGI 代码没有办法确定该选项是否已设置,因此提供了一个单独的处理句柄类。 它的用法与 :class:`CGIHandler` 相同,即通过调用 "
638+
"``IISCGIHandler().run(app)``,其中 ``app`` 是你想要发起调用的 WSGI 应用程序。"
633639

634640
#: ../../library/wsgiref.rst:494
635641
msgid ""
@@ -639,6 +645,9 @@ msgid ""
639645
"``wsgi.multithread`` and ``wsgi.multiprocess`` flags for any applications "
640646
"run by the handler instance."
641647
msgstr ""
648+
"类似于 :class:`CGIHandler`,但是改用 :mod:`sys` 和 :mod:`os` 模块,CGI 环境和 I/O 流会被显式地指定。"
649+
" *multithread* 和 *multiprocess* 值被用来为处理句柄实例所运行的任何应用程序设置 ``wsgi.multithread``"
650+
" 和 ``wsgi.multiprocess`` 旗标。"
642651

643652
#: ../../library/wsgiref.rst:500
644653
msgid ""

0 commit comments

Comments
 (0)