Skip to content

Commit

Permalink
updated user-agent for itunes review downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
bj committed Apr 17, 2011
1 parent 9de9b1b commit c23bbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ReviewManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ - (void) workerThreadFetch { // called by worker threads

NSString *storeFrontID = [storeInfo objectForKey:@"storeFrontID"];
NSString *storeFront = [storeFrontID stringByAppendingFormat:@"-1"];
[headers setObject:@"iTunes/4.2 (Macintosh; U; PPC Mac OS X 10.2)" forKey:@"User-Agent"];
[headers setObject:@"iTunes/10.2.1 (Macintosh; Intel Mac OS X 10.6.7) AppleWebKit/533.20.25" forKey:@"User-Agent"];
[headers setObject:storeFront forKey:@"X-Apple-Store-Front"];
[request setAllHTTPHeaderFields:headers];
[request setCachePolicy:NSURLRequestReloadIgnoringLocalCacheData];
Expand Down

0 comments on commit c23bbed

Please sign in to comment.