Skip to content

Implement HEAD HTTP request on /serve/*/ files #569

@iwanb

Description

@iwanb

Currently doing a HEAD request against a file under /serve returns 404. It would be nice if it could return 200 and some metadata like Content-Length instead.

Or maybe just returning a 405 would be better than 404. Something like this (I could not find an example of implementing HEAD against the filesystem with actix).

Thanks!

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