Skip to content

Does not work with axum Path extractor #121

@enricoschaaf

Description

@enricoschaaf

Hi 👋🏽

I am using http-cache-tower@=1.0.0-alpha.2 it breaks the axum path extractor. The first request of the server still works the next request errors with "No paths parameters found for matched route" for the same route. If I disable the cache layer its all good again. The axum comment for this error is

/// Rejection type used if axum's internal representation of path parameters
/// is missing. This is commonly caused by extracting Request<_>. Path
/// must be extracted first.

I am tested this both on axum 0.8.4 and 0.8.6.

Let me know if you need more info or a minimial representation.

Thanks for the lib!

Enrico

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions