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 55
66final class Config
77{
8- const SDK_VER = '7.0.8 ' ;
8+ const SDK_VER = '7.1.0 ' ;
99
1010 const BLOCK_SIZE = 4194304 ; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改
1111
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ private static function userAgent()
7171 return $ ua ;
7272 }
7373
74- private static function sendRequest ($ request )
74+ public static function sendRequest ($ request )
7575 {
7676 $ t1 = microtime (true );
7777 $ ch = curl_init ();
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public function testGet()
1616 public function testGetQiniu ()
1717 {
1818 $ response = Client::get ('up.qiniu.com ' );
19- $ this ->assertEquals (405 , $ response ->statusCode );
19+ $ this ->assertEquals (404 , $ response ->statusCode );
2020 $ this ->assertNotNull ($ response ->body );
2121 $ this ->assertNotNull ($ response ->xReqId ());
2222 $ this ->assertNotNull ($ response ->xLog ());
You can’t perform that action at this time.
0 commit comments