mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 23:36:37 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def get_authorization_scheme_param(
|
||||
authorization_header_value: Optional[str],
|
||||
) -> tuple[str, str]:
|
||||
if not authorization_header_value:
|
||||
return "", ""
|
||||
scheme, _, param = authorization_header_value.partition(" ")
|
||||
return scheme, param.strip()
|
||||
Reference in New Issue
Block a user