Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要调试我的 Zend_Http_Client 代码,以确保我将所有正确的 POST 字段和标头发送到我的服务器。如何输出将要发送的 POST 字段列表,甚至是整个 HTTP 命令是什么?
结果我在文档中 错过了它:getLastRequest()将返回整个最后一个请求的字符串化版本!
getLastRequest()