From: Jay Freeman (saurik) Date: Sat, 19 Mar 2011 02:22:37 +0000 (-0700) Subject: Remove X-System header: use User-Agent's Mobile/. X-Git-Tag: v1.1.0%rc1~77 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/9d489dc8b4410b43357222583b0c7714c2b2f9dc Remove X-System header: use User-Agent's Mobile/. --- diff --git a/MobileCydia.mm b/MobileCydia.mm index ae69acf2..5250e294 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -4586,8 +4586,6 @@ static _H 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"];