Hiawatha 和 Apache 上的 CGI 后期处理差异

发布于 2024-07-11 01:09:18 字数 169 浏览 8 评论 0原文

我正在尝试建立一个轻型开发环境,以允许在 Common Lisp 中直接使用 CGI,并且我想使用 Hiawatha 而不是更大的 Apache。 我的代码适用于 Apache 中的 GET 和 POST,但仅适用于 Hiawatha 中的 GET; Apache 和 Hiawatha 处理 POST 的方式有区别吗?

I'm trying to set up a light development environment to allow straight CGI in Common Lisp, and I'd like to use Hiawatha instead of the much larger Apache. I have code that works for both GET and POST in Apache, but only GET in Hiawatha; is there a difference in the way Apache and Hiawatha handle POST?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

挽清梦 2024-07-18 01:09:18

CGI 规范 仅指定 POST 数据应使用以下方式发送到 CGI 脚本:程序的 STDIN,而不是在环境变量 QUERY_STRING 中发送的 GET。

The CGI specification only specifies that POST data should be sent to a CGI script using the program's STDIN, as opposed to GET which is sent in the environment variable QUERY_STRING.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文