【文件属性】:
文件名称:Python-FastCGI-Client:用于Python的FastCGI客户端(直接与fastcgi-server(例如PHP-FPM等)进行通信)注意
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-06 11:15:33
socket fastcgi Python
Python FastCGI客户端
Python FastCGI客户端,用于通过FastCGI直接访问FastCGI Web资源
如何使用?(您应该开始FastCGI流程)
from FastCGIClient import *
client = FastCGIClient('127.0.0.1', 9000, 3000, 0)
params = dict()
documentRoot = "/Users/baidu/php_workspace"
uri = "/echo.php"
content = "name=john&address=beijing"
params = {'GATEWAY_INTERFACE': 'FastCGI/1.0',
'REQUEST_METHOD': 'POST',
'SCRIPT_FILENAME': documentRoot +
【文件预览】:
Python-FastCGI-Client-master
----fcgi.py(2KB)
----FastCGIClient.py(6KB)
----README.md(1KB)
----.gitignore(43B)