mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
`Authorization
` is the right header field
This commit is contained in:
parent
98a3691891
commit
48a2d4d31d
@ -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()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user