]> git.saurik.com Git - cydia.git/commitdiff
Remove X-System header: use User-Agent's Mobile/.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 19 Mar 2011 02:22:37 +0000 (19:22 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 19 Mar 2011 02:22:37 +0000 (19:22 -0700)
MobileCydia.mm

index ae69acf2008957e2bd85b47c295ee280ef8d5fa7..5250e294b4f21d35126e8824628f684c84526a31 100644 (file)
@@ -4586,8 +4586,6 @@ static _H<NSMutableSet> Diversions_;
 
     NSMutableURLRequest *copy([[super webView:view resource:resource willSendRequest:request redirectResponse:response fromDataSource:source] mutableCopy]);
 
-    if (System_ != NULL && [copy valueForHTTPHeaderField:@"X-System"] == nil)
-        [copy setValue:System_ forHTTPHeaderField:@"X-System"];
     if (Machine_ != NULL && [copy valueForHTTPHeaderField:@"X-Machine"] == nil)
         [copy setValue:[NSString stringWithUTF8String:Machine_] forHTTPHeaderField:@"X-Machine"];