Skip to content

Commit

Permalink
Merge pull request #196 from rwifeng/multi_zone_release
Browse files Browse the repository at this point in the history
Multi zone release
  • Loading branch information
rwifeng authored Oct 26, 2016
2 parents 8618766 + dc0589c commit 915c93f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Qiniu/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

final class Config
{
const SDK_VER = '7.0.8';
const SDK_VER = '7.1.0';

const BLOCK_SIZE = 4194304; //4*1024*1024 分块上传块大小,该参数为接口规格,不能修改

Expand Down
2 changes: 1 addition & 1 deletion src/Qiniu/Http/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private static function userAgent()
return $ua;
}

private static function sendRequest($request)
public static function sendRequest($request)
{
$t1 = microtime(true);
$ch = curl_init();
Expand Down
2 changes: 1 addition & 1 deletion tests/Qiniu/Tests/HttpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function testGet()
public function testGetQiniu()
{
$response = Client::get('up.qiniu.com');
$this->assertEquals(405, $response->statusCode);
$this->assertEquals(404, $response->statusCode);
$this->assertNotNull($response->body);
$this->assertNotNull($response->xReqId());
$this->assertNotNull($response->xLog());
Expand Down

0 comments on commit 915c93f

Please sign in to comment.