plugin AP gateway: fix exception on HEAD requests
This commit is contained in:
parent
b6b2189433
commit
f8387a7291
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ AP_REQUEST_TYPES = {
|
|||
"GET": {TYPE_ACTOR, TYPE_OUTBOX, TYPE_FOLLOWERS, TYPE_FOLLOWING},
|
||||
"POST": {"inbox"},
|
||||
}
|
||||
AP_REQUEST_TYPES["HEAD"] = AP_REQUEST_TYPES["GET"]
|
||||
# headers to check for signature
|
||||
SIGN_HEADERS = {
|
||||
# headers needed for all HTTP methods
|
||||
|
|
|
|||
Loading…
Reference in a new issue