This commit is contained in:
Xinchen Hui 2015-01-30 13:19:27 +08:00
parent 91ce41dc1e
commit 007d5f2921

View File

@ -14,7 +14,7 @@ curl_setopt_array($ch, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_INFILESIZE => filesize(__FILE__),
CURLOPT_INFILE => fopen(__FILE__, 'r'),
CURLOPT_INFILE => fopen(__FILE__, 'r'),
CURLOPT_HTTPHEADER => array(
'Content-Length: 1',
),