From a0c570797b5a21f0e7ec9c9046d990f419293458 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Thu, 15 Sep 2011 10:24:07 -0500 Subject: [PATCH] [Issue #26] Removing UDID default header from AFRestClient --- AFNetworking/AFRestClient.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/AFNetworking/AFRestClient.m b/AFNetworking/AFRestClient.m index d699e59..7b94409 100644 --- a/AFNetworking/AFRestClient.m +++ b/AFNetworking/AFRestClient.m @@ -60,9 +60,6 @@ static NSStringEncoding const kAFRestClientStringEncoding = NSUTF8StringEncoding // 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; }