我正在使用 HTTP::Server::Simple::CGI
用于轻量级 HTTP 服务器。当接受 HTTP 请求时,这会在回调函数中为我提供一个 CGI 对象。
如何访问传入的 HTTP header ,尤其是非标准 header ? 环境变量只是标准变量。
cgi->param
只给我表单参数。
谢谢! 克里斯
最佳答案
它在 the documentation 中说:
You can, if you really want, define parse_headers() and parse them raw yourself.
关于perl - 如何访问 HTTP::Server::Simple::CGI 中的 HTTP 请求 header ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3093160/