surf icon indicating copy to clipboard operation
surf copied to clipboard

Fast and friendly HTTP client framework for async Rust

Results 102 surf issues
Sort by recently updated
recently updated
newest added

I'm seeing if I can use surf with wasi. Unfortunately, the dependencies appear not to be correct, even with ``` toml [dependencies] async-executor = "*" futures-lite = "*" surf =...

Hi, I want to implement a streaming file upload (POST request) using surf. This is a huge file and I get one chunk of the file at a time. Is...

Are there any plans to support `WebSocket` within `Surf`?

Hey, thanks for this library and I would like to see support for `tokio 1.0`, for example https://github.com/paritytech/jsonrpsee/issues/227 would help us to move to `surf` instead of directly using hyper....

semver-major

Refs: https://github.com/http-rs/surf/issues/218 This presently fails with the default `"curl-client"` feature, which is based on [isahc](https://crates.io/crates/isahc). This works with either `"h1-client"` or `"hyper-client"`.

See https://github.com/http-rs/surf/issues/217 The second commit is similar to tide & async-std issues and relates to https://github.com/rust-lang/cargo/issues/1197

On some websites, e.g. http://orgonelab.org, surf fails with the following error: > Error: could not decode body as UTF-8 It is also sometimes reported for other encodings. Firefox, curl and...

Surf seems to return a `Content-Type: application/json` header when fetching images from webpages built with Notion. I tried making the same requests over curl and it logged the correct headers...

bug

This is an internal feature flag that is implied by other feature flags for feature flagging simplicity and cannot be used alone.

semver-major

This is not very nice: ```rust let authz = BasicAuth::new("any", &api_key); let res = client.put(&path) .header(authz.name(), authz.value()) ``` (From https://github.com/squamishaccess/squamishaccess-signup-function-rs/blob/6c445916760a4db21da80c732fbe8e9c704c1bd1/src/main.rs#L168-L172) I think something like `ToHeaderPair` may be ideal? We could...

semver-major