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

Move the Host extractor to axum-extra #2956

Merged
merged 5 commits into from
Oct 14, 2024
Merged

Move the Host extractor to axum-extra #2956

merged 5 commits into from
Oct 14, 2024

Conversation

jplatte
Copy link
Member

@jplatte jplatte commented Oct 4, 2024

Motivation

There's not one obvious way to implement it (should it handle proxy headers at all, which ones, why, ...). We have more opinionated stuff in axum-extra.

Solution

Move Host from axum to axum-extra.

@jplatte jplatte requested a review from mladedav October 4, 2024 07:54
@jplatte jplatte added this to the 0.8 milestone Oct 4, 2024
Copy link
Collaborator

@mladedav mladedav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge this now. I said elsewhere that we could wait for #2242 to move the fixed version, but I'll just recreate the PR after moving this.

@jplatte
Copy link
Member Author

jplatte commented Oct 14, 2024

Moved the changelog entry to the beginning of the changes as part of the merge, as I think breaking changes generally should be first. We should move the websocket one up too (separate PR).

@jplatte jplatte enabled auto-merge (squash) October 14, 2024 22:41
@jplatte jplatte merged commit 0ddc63f into main Oct 14, 2024
18 checks passed
@jplatte jplatte deleted the jplatte/move-host branch October 14, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants