开发者

How to output a list of POST data which Zend_Http_Client will send?

I need to debug my Zend_Http_Client 开发者_开发问答code so that I am sure that I am sending all of the proper POST fields & headers to my server. How can I output the list of the POST fields which will be sent, or even what the entire HTTP command will be?


Turns out I missed it right in the documentation: getLastRequest() will return a stringified version of the entire last request!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜