選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

9 行
266 B

  1. from typing import Tuple
  2. def get_authorization_scheme_param(authorization_header_value: str) -> Tuple[str, str]:
  3. if not authorization_header_value:
  4. return "", ""
  5. scheme, _, param = authorization_header_value.partition(" ")
  6. return scheme, param