Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Use thehttp crate#277

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
CosmicHorrorDev wants to merge12 commits intotiny-http:master
base:master
Choose a base branch
Loading
fromCosmicHorrorDev:http-crate

Conversation

CosmicHorrorDev
Copy link

@CosmicHorrorDevCosmicHorrorDev commentedNov 29, 2024
edited
Loading

Builds on top of#274

Handles all of the straightfoward changes in building on top of thehttp crate instead of the bespoke internal definitions now thathttp is reasonably stable. This handles porting

  • Vec<tiny_http::Header> ->http::HeaderMap
    • Included droppingtiny_http::Header andtiny_http::HeaderField
  • tiny_http::StatusCode ->http::StatusCode
  • tiny_http::Method ->http::Method
  • tiny_http::HTTPVersion ->http::Version
  • String URL paths ->http::Uri

closes#278closes#100


Future work

I might get around to making some of the changes in this PR, but the main missing pieces now arehttp'sRequest andResponse types along with their correspondingParts andBuilders. TheRequest andResponses have some more significant differences, so potentially just easing conversion between them

eerii, Guelakais, sww1235, and agersant reacted with thumbs up emoji
@CosmicHorrorDevCosmicHorrorDevforce-pushed thehttp-crate branch 4 times, most recently from42d1274 to65b6621CompareApril 17, 2025 06:59
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Doesother&str parameter really need to have static lifetime inHeaderField::equiv? Headers as HashMap rather than Vec<Header>?
1 participant
@CosmicHorrorDev

[8]ページ先頭

©2009-2025 Movatter.jp