WWW--Curl icon indicating copy to clipboard operation
WWW--Curl copied to clipboard

CURLOPT_UPLOAD and CURLOPT_CUSTOMREQUEST 'PUT'

Open cloud-zhao opened this issue 8 years ago • 0 comments

$curl->setopt(CURLOPT_UPLOAD,1); res: HTTP/1.1 400 Bad Request Date: Tue, 26 Apr 2016 09:37:31 GMT Content-Type: text/html Content-Length: 267 Connection: close

Closing connection #0 ++++++++++++++++++++++++++++++++++++++++++ $curl->setopt(CURL_CUSTOMREQUEST,'PUT'); res: HTTP/1.1 200 OK Date: Tue, 26 Apr 2016 09:37:46 GMT Content-Length: 0 Connection: keep-alive x-oss-request-id: 571F36EA010B7AEF08624942 ETag: "2D546154C5386A050EE25716E6E346B4"

Connection #0 to host tvmtest.oss-cn-hangzhou.aliyuncs.com left intact Closing connection #0

cloud-zhao avatar Apr 26 '16 09:04 cloud-zhao