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
I tried to upgrade hyper in servo (from 0.12 to 0.14), but i'm stuck with a serde issue:
error[E0277]: the trait bound `for<'de> De<http::HeaderMap>: Deserialize<'de>` is not satisfied
--> components/net_traits/lib.rs:668:18
|
668 | pub headers: Option<Serde<HeaderMap>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `De<http::HeaderMap>`
|
::: /home/xxxx/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper_serde-0.11.1/src/lib.rs:182:27
|
182 | where for<'de> De<T>: Deserialize<'de>,
| ---------------- required by this bound in `Serde`
|
= help: the following implementations were found:
<De<(http::status::StatusCode, std::string::String)> as Deserialize<'de>>
<De<ContentType> as Deserialize<'de>>
<De<Mime> as Deserialize<'de>>
<De<Tm> as Deserialize<'de>>
and 4 others
I guess we need to update and finish this hyper_serde PR, but i'm not yet very comfortable with this king of serialization issues :-/
The
fetch
specification has been updated to handle multiple values for theContent-Length
header.The tests are here
The hyper client fails while parsing the headers, i opened an issue to track the problem.
The text was updated successfully, but these errors were encountered: