`Authorization` is the right header field

This commit is contained in:
Jean-Paul Calderone 2023-02-17 13:58:58 -05:00
parent 98a3691891
commit 48a2d4d31d

View File

@ -28,7 +28,7 @@ def get_content_type(headers: Headers) -> Optional[str]:
def swissnum_auth_header(swissnum: bytes) -> bytes:
"""Return value for ``Authentication`` header."""
"""Return value for ``Authorization`` header."""
return b"Tahoe-LAFS " + b64encode(swissnum).strip()