Как при включённом verbose mode сделать, чтобы на экран также выводились тело post-запроса и тело ответа?
$this->ch = curl_init();
curl_setopt ($this->ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0');
curl_setopt ($this->ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($this->ch, CURLOPT_FAILONERROR, 1);
curl_setopt ($this->ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt ($this->ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($this->ch, CURLOPT_VERBOSE, 1);
Сейчас выводит только так:
> POST /agent/find_a_notary.asp HTTP/1.1
Host: www.notaryrotary.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/
38.0
Accept: */*
Referer: http://www.notaryrotary.com/agent/find_a_notary.asp
Content-Length: 753
Expect: 100-continue
Content-Type: multipart/form-data; boundary=------------------------d465b5ac7ce8
3556
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Cache-Control: no-cache
< Content-Length: 13234
< Content-Type: text/html
< Expires: Fri, 22 Jul 2016 23:06:51 GMT
< Server: Microsoft-IIS/8.5
< X-Powered-By: ASP.NET
< Date: Fri, 22 Jul 2016 23:06:50 GMT
<