Skip to content

Feature Request: Add comparison excluding fragments #1063

@sebsebmc

Description

@sebsebmc

The URL spec section on equivalence specifies an optional boolean to exclude fragments. Because there is no way to add parameters to eq this crate should include a
pub fn equal_excluding_fragment(&self, other: &Url) -> bool to allow for a spec compliant way to check for url equivalence when needing to exclude fragments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions