From d8fed00dc738b0e7d7d3359f22765259814c6820 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 25 Feb 2011 11:38:07 -0800 Subject: Remove the X-Role header that no one is using. --- MobileCydia.mm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 9e80598..5703db4 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4583,8 +4583,6 @@ static NSString *Warning_; [copy setValue:[NSString stringWithUTF8String:Machine_] forHTTPHeaderField:@"X-Machine"]; if (Token_ != nil) [copy setValue:Token_ forHTTPHeaderField:@"X-Cydia-Token"]; - if (Role_ != nil) - [copy setValue:Role_ forHTTPHeaderField:@"X-Role"]; return copy; } @@ -8382,8 +8380,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [request setValue:[NSString stringWithUTF8String:Machine_] forHTTPHeaderField:@"X-Machine"]; if (UniqueID_ != nil) [request setValue:UniqueID_ forHTTPHeaderField:@"X-Unique-ID"]; - if (Role_ != nil) - [request setValue:Role_ forHTTPHeaderField:@"X-Role"]; return [[[NSURLConnection alloc] initWithRequest:request delegate:self] autorelease]; } -- cgit v1.2.3