2

我正在使用 Fiddler 获取 Apache 服务器上的所有流量。问题是 Fiddler 捕获除了来自 Apache 的使用 Zend_HTTP_Client 发送的 HTTP 请求之外的所有内容。我该怎么办?

4

1 回答 1

2
    $config = array(
    'adapter'       => 'Zend_Http_Client_Adapter_Proxy',
    'proxy_host'    => '127.0.0.1',
    'proxy_port'    => 8888,
    'timeout'       => 60,
    'useragent'     => 'Test',
    'keepalive'     => true,
    'sslusecontext' => true
);

$client = new Zend_Http_Client('http://www.site.com/',  $config);
于 2013-02-27T14:11:56.620 回答