Remove empty expect header

This commit is contained in:
Jackson Coxson
2025-06-12 15:29:31 -06:00
parent c5d7097fc1
commit 7832d851a8
3 changed files with 2 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -1182,7 +1182,7 @@ dependencies = [
[[package]]
name = "idevice"
version = "0.1.33"
version = "0.1.35"
dependencies = [
"base64",
"byteorder",

View File

@@ -2,7 +2,7 @@
name = "idevice"
description = "A Rust library to interact with services on iOS devices."
authors = ["Jackson Coxson"]
version = "0.1.34"
version = "0.1.35"
edition = "2021"
license = "MIT"
documentation = "https://docs.rs/idevice"

View File

@@ -81,7 +81,6 @@ impl TSSRequest {
.header("Cache-Control", "no-cache")
.header("Content-type", "text/xml; charset=\"utf-8\"")
.header("User-Agent", "InetURL/1.0")
.header("Expect", "")
.body(plist_to_xml_bytes(&self.inner))
.send()
.await?
@@ -192,4 +191,3 @@ pub fn apply_restore_request_rules(
}
}
}