mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Remove empty expect header
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1182,7 +1182,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idevice"
|
name = "idevice"
|
||||||
version = "0.1.33"
|
version = "0.1.35"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"byteorder",
|
"byteorder",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
name = "idevice"
|
name = "idevice"
|
||||||
description = "A Rust library to interact with services on iOS devices."
|
description = "A Rust library to interact with services on iOS devices."
|
||||||
authors = ["Jackson Coxson"]
|
authors = ["Jackson Coxson"]
|
||||||
version = "0.1.34"
|
version = "0.1.35"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
documentation = "https://docs.rs/idevice"
|
documentation = "https://docs.rs/idevice"
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ impl TSSRequest {
|
|||||||
.header("Cache-Control", "no-cache")
|
.header("Cache-Control", "no-cache")
|
||||||
.header("Content-type", "text/xml; charset=\"utf-8\"")
|
.header("Content-type", "text/xml; charset=\"utf-8\"")
|
||||||
.header("User-Agent", "InetURL/1.0")
|
.header("User-Agent", "InetURL/1.0")
|
||||||
.header("Expect", "")
|
|
||||||
.body(plist_to_xml_bytes(&self.inner))
|
.body(plist_to_xml_bytes(&self.inner))
|
||||||
.send()
|
.send()
|
||||||
.await?
|
.await?
|
||||||
@@ -192,4 +191,3 @@ pub fn apply_restore_request_rules(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user