Skip to content

HEAD requests on /.well-known/webfinger return error 405 instead of 400 #1

Open
@progval

Description

@progval

Describe the bug

HEAD requests to /.well-known/webfinger return "405 Method Not Allowed", instead of returning 400 (like GET)

Steps to reproduce (if necessary)

$ curl https://pencil.writefree.ly/.well-known/webfinger -I -X HEAD | head -n 1
HTTP/1.1 405 Method Not Allowed
$ curl https://pencil.writefree.ly/.well-known/webfinger -I -X GET | head -n 1
HTTP/1.1 400 Bad Request

Expected behavior

error 400 should be returned on HEAD requests

Application configuration

  • Single mode or Multi-user mode? N/A
  • Database? N/A
  • Open registration? N/A
  • Federation enabled? yes

Version or last commit: v0.12.0

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