Skip to content

Allow trailing slash in URL #99

@domdfcoding

Description

@domdfcoding

Current pypistats.org returns 404 for urls with a trailing slash (e.g. https://pypistats.org/packages/dep-checker/). Many sites (including PyPI and python.org) accept either form, redirecting to one or the other (PyPI redirects to the "with trailing slash" form).

For consistency and ease of use pypistats should accept both forms. With flask it's fairly easy to accomplish.

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