Skip to content

Remove Host and Scheme extractors from axum-extra #3442

@jplatte

Description

@jplatte

This is a counter-proposal to #2998: let's just remove these extractors. If people can agree on a useful version of them, they can maintain their own library for them.

Reasons:

  • they seem very niche to me (have never used either of them)
  • it's not at all obvious what exactly they do
  • as such, people seem to expect different things
  • we were thinking about introducing new concepts into axum(-extra) just for these two (or are there more "spoofable" extractors?)

Thoughts? @mladedav @Turbo87 @yanns @GlenDC @tottoto (maybe we need a GH team 😅)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions