Skip to content

undici.fetch does not append url fragments (url.hash) #1245

@jennyEckstein

Description

@jennyEckstein

Bug Description

At the moment undici.fetch does not support GET requests with fragments

Reproducible By

See repository to reproduce here

Expected Behavior

undici.fetch should be able to handle fragments in url.
Fix: add url.hash here

Logs & Screenshots

See repo ☝️

Environment

macOS Catalina 10.15.7
Node v16.10.0

Additional context

I would be happy to open PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions