Skip to content

net/http: requests with empty paths redirect instead of 200 #10586

@jmhodges

Description

@jmhodges

Requests to "http://example.com" (no trailing slash) always redirect to "http://example.com/" even if there is a "/" handler available. Other servers will match the lack of path with the "/" handler as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions