Skip to content

Commit

Permalink
Remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pokeb committed Jul 17, 2009
1 parent fec6afd commit 4f116f5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Classes/ASIHTTPRequest.m
Expand Up @@ -1294,7 +1294,6 @@ - (void)attemptToApplyCredentialsAndResume

- (void)handleNetworkEvent:(CFStreamEventType)type
{
NSLog(@"%hi",type);
// Dispatch the stream events.
switch (type) {
case kCFStreamEventHasBytesAvailable:
Expand Down
4 changes: 1 addition & 3 deletions Classes/Tests/ASIHTTPRequestTests.m
Expand Up @@ -716,16 +716,14 @@ - (void)testCompression
success = [[request responseString] isEqualToString:content];
GHAssertTrue(success,@"Failed to compress the body, or server failed to decompress it");


request = [ASIHTTPRequest requestWithURL:[NSURL URLWithString:@"http://allseeing-i.com/ASIHTTPRequest/tests/compressed_post_body"]];
[request setRequestMethod:@"PUT"];
[request setShouldCompressRequestBody:YES];
[request setShouldStreamPostDataFromDisk:YES];
[request setUploadProgressDelegate:self];
[request setPostBodyFilePath:sourcePath];

[request start];

success = [[request responseString] isEqualToString:content];
GHAssertTrue(success,@"Failed to compress the body, or server failed to decompress it");

Expand Down

0 comments on commit 4f116f5

Please sign in to comment.