Python 标准库参考指南 2.7.18
. . . . . . . . . . . . . . 885 20.2 cgi —Common Gateway Interface support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888 20.3 cgitb —用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . —Simple HTTP request handler . . . . . . . . . . . . . . . . . . . . . . . . 973 20.20 CGIHTTPServer —CGI-capable HTTP request handler . . . . . . . . . . . . . . . . . . . . . . . 974 20.21 cookielib —Cookie set_url("http://www.musi-cal.com/robots.txt") >>> rp.read() >>> rp.can_fetch("*", "http://www.musi-cal.com/cgi-bin/search?city=San+Francisco") False >>> rp.can_fetch("*", "http://www.musi-cal.com/") True 386 Chapter0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 2.7.18
. . . . . . . . . . . . . . 885 20.2 cgi —Common Gateway Interface support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888 20.3 cgitb —用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . —Simple HTTP request handler . . . . . . . . . . . . . . . . . . . . . . . . 973 20.20 CGIHTTPServer —CGI-capable HTTP request handler . . . . . . . . . . . . . . . . . . . . . . . 974 20.21 cookielib —Cookie set_url("http://www.musi-cal.com/robots.txt") >>> rp.read() >>> rp.can_fetch("*", "http://www.musi-cal.com/cgi-bin/search?city=San+Francisco") False >>> rp.can_fetch("*", "http://www.musi-cal.com/") True 386 Chapter0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 2.7.18
. . . . . . . . . . . . . . 885 20.2 cgi —Common Gateway Interface support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888 20.3 cgitb —用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . —Simple HTTP request handler . . . . . . . . . . . . . . . . . . . . . . . . 973 20.20 CGIHTTPServer —CGI-capable HTTP request handler . . . . . . . . . . . . . . . . . . . . . . . 974 20.21 cookielib —Cookie set_url("http://www.musi-cal.com/robots.txt") >>> rp.read() >>> rp.can_fetch("*", "http://www.musi-cal.com/cgi-bin/search?city=San+Francisco") False >>> rp.can_fetch("*", "http://www.musi-cal.com/") True 386 Chapter0 码力 | 1552 页 | 7.42 MB | 9 月前3Python 标准库参考指南 3.6.15
. . . . . . . . . . . . . . . 1061 21.2 cgi —通用网关接口支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063 21.3 cgitb —用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . . InterruptedError 异常。除非信号处理程序抛出异常(相关原理请参阅 PEP 475)。 18.3.5 Kevent 对象 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 kevent.ident 用于区分事件的标识值。其解释取决于筛选器,但该值通常是文件描述符。在构造函数中,该标识值 可以是整数或带有fileno() obuffer = b"" self.set_terminator(b"\r\n\r\n") self.reading_headers = True self.handling = False self.cgi_data = None self.log = log def collect_incoming_data(self, data): """Buffer the data""" self.ibuffer0 码力 | 1886 页 | 8.95 MB | 9 月前3Python 标准库参考指南 3.6.15
. . . . . . . . . . . . . . . 1061 21.2 cgi —通用网关接口支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063 21.3 cgitb —用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . . InterruptedError 异常。除非信号处理程序抛出异常(相关原理请参阅 PEP 475)。 18.3.5 Kevent 对象 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 kevent.ident 用于区分事件的标识值。其解释取决于筛选器,但该值通常是文件描述符。在构造函数中,该标识值 可以是整数或带有fileno() obuffer = b"" self.set_terminator(b"\r\n\r\n") self.reading_headers = True self.handling = False self.cgi_data = None self.log = log def collect_incoming_data(self, data): """Buffer the data""" self.ibuffer0 码力 | 1886 页 | 8.95 MB | 9 月前3Python 标准库参考指南 3.7.13
. . . . . . . . . . . . . . . 1049 22.2 cgi --- 通用网关接口支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051 22.3 cgitb --- 用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . . 出InterruptedError 异常。除非信号处理程序抛出异常(相关原理请参阅 PEP 475)。 19.4.5 Kevent 对象 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 kevent.ident 用于区分事件的标识值。其解释取决于筛选器,但该值通常是文件描述符。在构造函数中,该标识 值可以是整数或带有fileno() obuffer = b"" self.set_terminator(b"\r\n\r\n") self.reading_headers = True self.handling = False self.cgi_data = None self.log = log def collect_incoming_data(self, data): """Buffer the data""" self.ibuffer0 码力 | 1846 页 | 9.09 MB | 9 月前3Python 标准库参考指南 3.7.13
. . . . . . . . . . . . . . 1111 22.2 cgi --- 通用网关接口支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1114 22.3 cgitb --- 用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . InterruptedError 异常。除非信号处理程序抛出异常(相关原理请参阅 PEP 475)。 19.4.5 Kevent 对象 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 kevent.ident 用于区分事件的标识值。其解释取决于筛选器,但该值通常是文件描述符。在构造函数中,该标识值 可以是整数或带有fileno() obuffer = b"" self.set_terminator(b"\r\n\r\n") self.reading_headers = True self.handling = False self.cgi_data = None self.log = log def collect_incoming_data(self, data): """Buffer the data""" self.ibuffer0 码力 | 1961 页 | 9.14 MB | 9 月前3Flask Documentation (1.1.x)
Configuring Apache Configuring lighttpd Configuring nginx Running FastCGI Processes Debugging CGI Creating a .cgi file Server Setup Standalone WSGI Containers There are popular servers written in Python by the web server. Different python interpreters being used. CGI If all other deployment methods do not work, CGI will work for sure. CGI is supported by all major servers but usually has a sub-optimal application on Google’s App Engine [https://cloud.google.com/appengine/docs/], where execution happens in a CGI-like environment. Watch Out Please make sure in advance that any app.run() calls you might have in0 码力 | 428 页 | 895.98 KB | 1 年前3Python 标准库参考指南 3.8.20
. . . . . . . . . . . . . . . 1099 21.2 cgi --- 通用网关接口支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1101 21.3 cgitb --- 用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . . 出InterruptedError 异常。除非信号处理程序抛出异常(相关原理请参阅 PEP 475)。 18.4.5 Kevent 对象 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 kevent.ident 用于区分事件的标识值。其解释取决于筛选器,但该值通常是文件描述符。在构造函数中,该标识 值可以是整数或带有fileno() obuffer = b"" self.set_terminator(b"\r\n\r\n") self.reading_headers = True self.handling = False self.cgi_data = None self.log = log def collect_incoming_data(self, data): """Buffer the data""" self.ibuffer0 码力 | 1927 页 | 9.69 MB | 9 月前3Python 标准库参考指南 3.8.20
. . . . . . . . . . . . . . . 1099 21.2 cgi --- 通用网关接口支持 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1101 21.3 cgitb --- 用于 CGI 脚本的回溯管理器 . . . . . . . . . . . . . . . . 出InterruptedError 异常。除非信号处理程序抛出异常(相关原理请参阅 PEP 475)。 18.4.5 Kevent 对象 https://www.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2 kevent.ident 用于区分事件的标识值。其解释取决于筛选器,但该值通常是文件描述符。在构造函数中,该标识 值可以是整数或带有fileno() obuffer = b"" self.set_terminator(b"\r\n\r\n") self.reading_headers = True self.handling = False self.cgi_data = None self.log = log def collect_incoming_data(self, data): """Buffer the data""" self.ibuffer0 码力 | 1927 页 | 9.69 MB | 9 月前3
共 182 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19