Skip to content

Commit 915c93f

Browse files
authored
Merge pull request #196 from rwifeng/multi_zone_release
Multi zone release
2 parents 8618766 + dc0589c commit 915c93f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Qiniu/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
final 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

src/Qiniu/Http/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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();

tests/Qiniu/Tests/HttpTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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());

0 commit comments

Comments
 (0)