Problem Curl and Transfer Encoding : chunked
I have a problem with Transfer Encoding : chunked.
Response Header contained both Content-Length and Transfer Encoding : chunked.
What I am doing is save the image of external server via apache proxy server by curl command in php page.
The response header is show as following
HTTP/1.1 200 OK
< DeleGate-Ver: 9.9.10 (delay=0)
< Content-Type: image/jpeg
< Server: Apache
< Content-Length: 40963
< Via: 1.1 - (DeleGate/9.9.10)
< Proxy-Connection: keep-alive, timeout=60, maxreq=60
< Transfer-Encoding: chunked
But the image is not downloaded.
The response body is all blank.
Anyone knows causes of problem, please help.