Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert: Remove From<http::Response<T>> for Response #282

Merged
merged 5 commits into from
Jan 8, 2025

Conversation

honeyspoon
Copy link
Contributor

@honeyspoon
Copy link
Contributor Author

I modified the ci to install cargo
I only saw the errors when running the ci on my machine
not sure how it even worked without it

@MDC-Void
Copy link
Collaborator

MDC-Void commented Jan 8, 2025

I saw that the code implementation is inconsistent with the upstream. In order to avoid unnecessary trouble, you should restore the structure consistent with the upstream.

let decoder = Decoder::detect(
&mut parts.headers,
ResponseBody::new(body.map_err(Into::into)),
Accepts::default(),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be a missing Accepts::none method here

@@ -0,0 +1,35 @@
use url::Url;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent with upstream

@0x676e67 0x676e67 merged commit 1e69245 into penumbra-x:main Jan 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants