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},
|
"GET": {TYPE_ACTOR, TYPE_OUTBOX, TYPE_FOLLOWERS, TYPE_FOLLOWING},
|
||||||
"POST": {"inbox"},
|
"POST": {"inbox"},
|
||||||
}
|
}
|
||||||
|
AP_REQUEST_TYPES["HEAD"] = AP_REQUEST_TYPES["GET"]
|
||||||
# headers to check for signature
|
# headers to check for signature
|
||||||
SIGN_HEADERS = {
|
SIGN_HEADERS = {
|
||||||
# headers needed for all HTTP methods
|
# headers needed for all HTTP methods
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue