Skip to content

Commit d467620

Browse files
authored
ExApps should not require AA-VERSION header (#336)
Reason: AppAPI are already a bundled app, that distributes with Nextcloud Server and always have a version that Nextcloud Server have and this header is not needed anymore. Starting from **Nextcloud 32** AppAPI will stop sending this header to the ExApps. We do not drop sending `AA-VERSION` header to the NC, until we drop the support of NC31, as old AppAPI versions still require those header, we just removing this header from the required header list. Signed-off-by: bigcat88 <bigcat88@icloud.com>
1 parent b97f20a commit d467620

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

nc_py_api/_session.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ def __init__(self, **kwargs):
478478

479479
def sign_check(self, request: HTTPConnection) -> str:
480480
headers = {
481-
"AA-VERSION": request.headers.get("AA-VERSION", ""),
482481
"EX-APP-ID": request.headers.get("EX-APP-ID", ""),
483482
"EX-APP-VERSION": request.headers.get("EX-APP-VERSION", ""),
484483
"AUTHORIZATION-APP-API": request.headers.get("AUTHORIZATION-APP-API", ""),

0 commit comments

Comments
 (0)