From: Jay Freeman (saurik) Date: Fri, 25 Feb 2011 19:38:07 +0000 (-0800) Subject: Remove the X-Role header that no one is using. X-Git-Tag: v1.1.0%b1~178 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/d8fed00dc738b0e7d7d3359f22765259814c6820 Remove the X-Role header that no one is using. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 9e805983..5703db40 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]; }