File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ - (void)testHttpsUp {
5757 QNUploadOption *opt = [[QNUploadOption alloc ] initWithMime: @" text/plain" progressHandler: nil params: @{ @" x:foo" :@" bar" } checkCrc: YES cancellationSignal: nil ];
5858 NSData *data = [@" Hello, World!" dataUsingEncoding: NSUTF8StringEncoding];
5959 QNConfiguration *config = [QNConfiguration build: ^(QNConfigurationBuilder *builder) {
60- QNServiceAddress *s = [[QNServiceAddress alloc ] init: @" https://up .qbox.me" ips: nil ];
60+ QNServiceAddress *s = [[QNServiceAddress alloc ] init: @" https://uptemp .qbox.me" ips: nil ];
6161 builder.zone = [[QNZone alloc ] initWithUp: s upBackup: nil ];
6262 }];
6363 QNUploadManager *upManager = [[QNUploadManager alloc ]initWithConfiguration:config];
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ - (void)testPostHttps {
134134 QNResolver *resolver = [[QNResolver alloc ] initWithAddres: @" 114.114.115.115" ];
135135 QNDnsManager *dns = [[QNDnsManager alloc ] init: [NSArray arrayWithObject: resolver] networkInfo: [QNNetworkInfo normal ]];
136136 QNHttpManager *httpManager = [[QNHttpManager alloc ] initWithTimeout: 300 urlConverter: nil dns: nil ];
137- [httpManager post: @" https://up .qbox.me" withData: nil withParams: nil withHeaders: nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
137+ [httpManager post: @" https://uptemp .qbox.me" withData: nil withParams: nil withHeaders: nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
138138 testInfo = info;
139139 } withProgressBlock: nil withCancelBlock: nil ];
140140
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ - (void)templateHttps:(int)size {
9494 }];
9595
9696 QNConfiguration *config = [QNConfiguration build: ^(QNConfigurationBuilder *builder) {
97- QNServiceAddress *s = [[QNServiceAddress alloc ] init: @" https://up .qbox.me" ips: nil ];
97+ QNServiceAddress *s = [[QNServiceAddress alloc ] init: @" https://uptemp .qbox.me" ips: nil ];
9898 builder.zone = [[QNZone alloc ] initWithUp: s upBackup: nil ];
9999 }];
100100 QNUploadManager *upManager = [[QNUploadManager alloc ]initWithConfiguration:config];
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ - (void)testPostHttps {
157157 QNResolver *resolver = [[QNResolver alloc ] initWithAddres: @" 114.114.115.115" ];
158158 QNDnsManager *dns = [[QNDnsManager alloc ] init: [NSArray arrayWithObject: resolver] networkInfo: [QNNetworkInfo normal ]];
159159 QNSessionManager *httpManager = [[QNSessionManager alloc ] initWithProxy: nil timeout: 300 urlConverter: nil dns: nil ];
160- [httpManager post: @" https://up .qbox.me" withData: data withParams: nil withHeaders: nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
160+ [httpManager post: @" https://uptemp .qbox.me" withData: data withParams: nil withHeaders: nil withCompleteBlock: ^(QNResponseInfo *info, NSDictionary *resp) {
161161 testInfo = info;
162162 } withProgressBlock: nil withCancelBlock: nil ];
163163
You can’t perform that action at this time.
0 commit comments