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

Writing an HTTP client for dstopic #17

Open
5 tasks
zkat opened this issue Nov 9, 2019 · 3 comments
Open
5 tasks

Writing an HTTP client for dstopic #17

zkat opened this issue Nov 9, 2019 · 3 comments
Assignees
Labels
blocked Progress on task is blocked

Comments

@zkat
Copy link
Contributor

zkat commented Nov 9, 2019

As part of development on dstopic (the Rust side of the client), we need to have a shiny new http client with certain features:

  • http-compliant caching, to cacache
  • retry support
  • keepalive support
  • async/await support
  • (optional, unnecessary, low-priority) proxy support

No existing http clients on crates.io currently support all these features (or even most of them), so we need to write one from scratch!

(original thread)

Blocked by

@zkat zkat self-assigned this Nov 9, 2019
@zkat
Copy link
Contributor Author

zkat commented Nov 9, 2019

@yoshuawuyts wrote the baseline for this http client, in the form of surf, which takes care of async/await and keepalive support on its own (on top of being a generally excellent http client). Besides that, it has a middleware system that can be used to add caching, retry, and possibly proxy support (eventually).

@zkat
Copy link
Contributor Author

zkat commented Nov 9, 2019

Status: I'm currently working on caching middleware for surf, now that cacache-rs has mostly stabilized.

@zkat zkat added the help wanted Extra attention is needed label Nov 27, 2019
@zkat zkat mentioned this issue Dec 1, 2019
@zkat zkat removed the help wanted Extra attention is needed label Dec 1, 2019
@zkat
Copy link
Contributor Author

zkat commented Dec 9, 2019

Update: I've added a Status section to the OP to track the requirements to get this written. We're still a ways away from being able to write this.

@zkat zkat added the blocked Progress on task is blocked label Dec 21, 2019
@zkat zkat mentioned this issue Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Progress on task is blocked
Projects
None yet
Development

No branches or pull requests

1 participant