reqwest
reqwest copied to clipboard
An easy and powerful Rust HTTP Client
Could it be possible to set an option/flag for `reqwest` to out-of-the-box use/cycle through random `user-agents`? If needed, the function could take an array of possible `user-agents`.
At present, reqwest only sends ALPN when `rustls` is used -- this effectively breaks `http2_prior_knowledge` when used with TLS, which is it's primary use case if the user does not...
`reqwest`'s `ClientBuilder` set tcp_nodelay to true [by default](https://github.com/seanmonstar/reqwest/blob/master/src/async_impl/client.rs#L185), but `hyper`'s `HttpConnector` [set it to false](https://github.com/hyperium/hyper/blob/master/src/client/connect/http.rs#L120). So if I set `ClientBulder`'s tcp_nodelay to `true`, `reqwest` should pass this setting to `hyper`'s...
This is derived from the [earlier PR](https://github.com/seanmonstar/reqwest/pull/1372) to add support for the `bytes_stream()` function for wasm32 but can be cleanly merged with current HEAD. The only difference is that it...
Not a big deal, but would help beginners ;), Tokio is a requirement for the async part.
I have an app where I'm spawning futures that take a Client as an argument and perform multiple operations and then returns the Client back. Each client is using a...
Hi, I stumbled upon this issue merely by code inspection (i.e. I didn't test it). I saw that the `get_from_environment` function at proxy.rs does the following: ``` fn get_from_environment() ->...
I am trying to use reqwest for creating in-browser request for my WASM application. But reqwest only accepts full URL for making requests. My web app and resource I'm trying...
Hello, I'm getting this error: ``` IO: request or response body error: error reading a body from connection: end of file before message length reached: [unknown error type]: error reading...
* Sometimes you want to inspect the JSON data that failed to parse.