main
Bob Mottram 2024-02-29 11:05:11 +00:00
parent 9b29c0339f
commit 89fa5cce98
1 changed files with 1 additions and 1 deletions

View File

@ -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: