summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-18 19:22:37 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-18 19:22:37 -0700
commit9d489dc8b4410b43357222583b0c7714c2b2f9dc (patch)
treed9d41d0388f75a0124cde7e9b653aab075c0db20
parentd63406e1f5563795d5c1d8bba5b3360256507d39 (diff)
Remove X-System header: use User-Agent's Mobile/.
-rw-r--r--MobileCydia.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index ae69acf..5250e29 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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"];