-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Why not using Response and Request of http::crate directly instead of aliasing it to HttpResponse and HttpRequest? It causes mismatch type error #254
Comments
They are the same crate using http::Request v1.0.0 but it will cause in this error. |
the cause of error is the http::Request becomes oauth2::http::Request when aliasing it into HttpRequest even they are using the same http v1.0.0 crate |
This crate isn't using |
Ahh ok. Thanks for the information. I thought it was now using http 1.0 |
I was testing the v5.0.0.-alpha of this crate I thought it is now using the http 1.0. Thanks |
np, thanks for testing the new release! I should have an updated one and corresponding |
btw to answer your question in the title about why they're type aliases, it's because the body type is generic, and this crate always uses Lines 16 to 20 in 1fc8188
|
@ramosbugs let me know what alpha release that you will release next to version up the http from 0.2 to 1.0.0. Thank very much |
The upgrade is blocked on seanmonstar/reqwest#2039, but if you subscribe to #237 I'll post there when it's released |
The text was updated successfully, but these errors were encountered: