Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tweaks.

  • Loading branch information...
commit 3286bf449c2f1e277f9ebbe43b2382073791e8ed 1 parent 9c11230
@kishikawakatsumi authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  ClassicMap/WMImageCache.m
View
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];
Please sign in to comment.
Something went wrong with that request. Please try again.