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

Release Heph-HTTP #464

Open
6 of 57 tasks
Thomasdezeeuw opened this issue May 24, 2021 · 2 comments
Open
6 of 57 tasks

Release Heph-HTTP #464

Thomasdezeeuw opened this issue May 24, 2021 · 2 comments
Labels
HTTP Related to the Heph-HTTP crate. idea An idea, open to discussion.

Comments

@Thomasdezeeuw
Copy link
Owner

Thomasdezeeuw commented May 24, 2021

Incomplete list from while I was working on the code:

Maybe

  • Always set TCP_NODELAY on server::Connection. Not possible to do in ArgMap. Leaving this up to the user.
  • Accept length: Option<NonZeroUsize> in FileBody::new.

IDEAS

Check RFCs

Go through RFC for correctness, test for each section/requirement in them.

Create tests for each section/paragraph from the RFCS:

  • RFC 7230 - HTTP Message Syntax and Routing
  • RFC 7231 - HTTP Semantics and Content
  • RFC 7232 - HTTP Conditional Requests
  • RFC 7233 - HTTP Range Requests
  • RFC 7234 - HTTP Caching
  • RFC 7235 - HTTP Authentication
  • RFC 7236 - HTTP Authentication Scheme Registrations
  • RFC 7237 - HTTP Method Registrations
  • RFC 7238 - HTTP Status Code 308 (Permanent Redirect)
  • RFC 7239 - Forwarded HTTP Extension
  • RFC 7240 - Prefer Header for HTTP
  • RFC 5789 - PATCH Method for HTTP

Search for more HTTP related RFCs.

Related RFCs:

HTTP relies upon the Uniform Resource Identifier (URI) standard [RFC3986].

Transport Layer Security (TLS, [RFC5246]).

Obsolete RFCs

  • RFC 2616
  • RFC 2145
@ibraheemdev
Copy link

Have you considered using the http crate? It would be of great benefit to the ecosystem for it to see more adoption.

@Thomasdezeeuw
Copy link
Owner Author

@ibraheemdev I know of the http crate, the problem is that it uses the bytes crate underneath and I don't think that's needed. But I'm considering a feature to support http and a more higher-level API.

@Thomasdezeeuw Thomasdezeeuw added HTTP Related to the Heph-HTTP crate. idea An idea, open to discussion. labels Sep 19, 2021
@Thomasdezeeuw Thomasdezeeuw changed the title Heph-HTTP Release Heph-HTTP Sep 19, 2021
@Thomasdezeeuw Thomasdezeeuw mentioned this issue May 25, 2023
1 task
@Thomasdezeeuw Thomasdezeeuw unpinned this issue Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HTTP Related to the Heph-HTTP crate. idea An idea, open to discussion.
Projects
None yet
Development

No branches or pull requests

2 participants