Permalink
Browse files

[Issue #26] Removing UDID default header from AFRestClient

  • Loading branch information...
1 parent c8ee535 commit a0c570797b5a21f0e7ec9c9046d990f419293458 @mattt mattt committed Sep 15, 2011
Showing with 0 additions and 3 deletions.
  1. +0 −3 AFNetworking/AFRestClient.m
View
3 AFNetworking/AFRestClient.m
@@ -60,9 +60,6 @@ - (id)init {
// User-Agent Header; see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.43
[self setDefaultHeader:@"User-Agent" value:[NSString stringWithFormat:@"%@/%@ (%@, %@ %@, %@, Scale/%f)", [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleIdentifierKey], [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleVersionKey], @"unknown", [[UIDevice currentDevice] systemName], [[UIDevice currentDevice] systemVersion], [[UIDevice currentDevice] model], ([[UIScreen mainScreen] respondsToSelector:@selector(scale)] ? [[UIScreen mainScreen] scale] : 1.0)]];
- // X-UDID HTTP Header
- [self setDefaultHeader:@"X-UDID" value:[[UIDevice currentDevice] uniqueIdentifier]];
-
return self;
}

0 comments on commit a0c5707

Please sign in to comment.