Skip to content

404 response for HEAD request with no Accept:  #163

Closed
@nico-izo

Description

@nico-izo

Steps to reproduce:

$ curl -I https://crates.io/
HTTP/1.1 404 Not Found
<...>
Content-Type: application/json; charset=utf-8

With Accept: text/html everything is okay:

$ curl -H "Accept: text/html" -I https://crates.io/
HTTP/1.1 200 OK
<...>
Content-Type: text/html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions