Permalink
Browse files

Tweaks.

  • Loading branch information...
1 parent 9c11230 commit 3286bf449c2f1e277f9ebbe43b2382073791e8ed @kishikawakatsumi committed Sep 28, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 ClassicMap/WMImageCache.m
@@ -111,7 +111,6 @@ - (UIImage *)imageWithURL:(NSURL *)URL defaultImage:(UIImage *)defaultImage bloc
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:URL cachePolicy:NSURLRequestReturnCacheDataElseLoad timeoutInterval:5.0];
request.HTTPShouldUsePipelining = YES;
- [request setValue:@"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14" forHTTPHeaderField:@"User-Agent"];
[request setValue:@"gzip" forHTTPHeaderField:@"Accept-Encoding"];
AFHTTPRequestOperation *op = [[AFHTTPRequestOperation alloc] initWithRequest:request];

0 comments on commit 3286bf4

Please sign in to comment.