You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Provision servers give X-MMe-Client-Info because AltServer gives X-MMe-Client-Info.
130
131
// However, it's actually incorrect, and omnisette will normalize it to be X-Mme-Client-Info when using provider.get_authentication_headers().
131
132
// To maintain backwards compatibility with V1 (and older versions of SideStore), we clone the header to ensure it is in both the correct and incorrect header key.
// omnisette doesn't provide X-Apple-I-Client-Time, X-Apple-I-TimeZone or X-Apple-Locale headers because the client should provide them
141
+
// for V1 requests, we need to manually add them
142
+
let time = chrono::Utc::now();
143
+
headers.insert(
144
+
"X-Apple-I-Client-Time".to_string(),
145
+
time.to_rfc3339_opts(chrono::SecondsFormat::Secs,true),// .format("%Y-%m-%dT%H:%M:%SZ"), // Manually format to ISO 8601 because DateTime's to_rfc3339_opts is too smart
0 commit comments