Skip to content

HTTP HEAD requests (eg. curl -I) not supported on the API #18543

Closed
@qwerty287

Description

@qwerty287

Gitea Version

Tried on codeberg.org and gitea.com

How are you running Gitea?

Only tried on Codeberg and gitea.com

Can you reproduce the bug on the Gitea demo site?

Yes

Description

Gitea returns an 405 error if trying to use curl with the -I option (only view headers).

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/needs-feedbackFor bugs, we need more details. For features, the feature must be described in more detail

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions