File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5
5
6
6
final class Config
7
7
{
8
- const SDK_VER = '7.0.8 ' ;
8
+ const SDK_VER = '7.1.0 ' ;
9
9
10
10
const BLOCK_SIZE = 4194304 ; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
11
11
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private static function userAgent()
71
71
return $ ua ;
72
72
}
73
73
74
- private static function sendRequest ($ request )
74
+ public static function sendRequest ($ request )
75
75
{
76
76
$ t1 = microtime (true );
77
77
$ ch = curl_init ();
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testGet()
16
16
public function testGetQiniu ()
17
17
{
18
18
$ response = Client::get ('up.qiniu.com ' );
19
- $ this ->assertEquals (405 , $ response ->statusCode );
19
+ $ this ->assertEquals (404 , $ response ->statusCode );
20
20
$ this ->assertNotNull ($ response ->body );
21
21
$ this ->assertNotNull ($ response ->xReqId ());
22
22
$ this ->assertNotNull ($ response ->xLog ());
You can’t perform that action at this time.
0 commit comments