mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 18:29:54 +00:00
Comment
This commit is contained in:
1 parent
9b29c0339f
commit
89fa5cce98
1 file changed
+1
-1
+1
-1
@@ -16,7 +16,7 @@ from cache import get_person_pub_key
|
||||
|
||||
def secure_mode(curr_session, proxy_type: str,
|
||||
force: bool, server, headers: {}, path: str) -> bool:
|
||||
"""http authentication of GET requests for json
|
||||
"""http authentication (aka 'authorized fetch') of GET requests for json
|
||||
See AUTHORIZED_FETCH in https://docs.joinmastodon.org/admin/config
|
||||
"""
|
||||
if not server.secure_mode and not force:
|
||||
|
||||
Reference in new issue
Block a user