mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 10:01:48 +00:00
Tidying
This commit is contained in:
1 parent
d853ba1978
commit
15924d79b1
1 file changed
+1
-6
+1
-6
@@ -102,12 +102,7 @@ def createSignedHeader(privateKeyPem: str, nickname: str,
|
||||
"""Note that the domain is the destination, not the sender
|
||||
"""
|
||||
contentType = 'application/activity+json'
|
||||
headerDomain = toDomain
|
||||
|
||||
if toPort:
|
||||
if toPort != 80 and toPort != 443:
|
||||
if ':' not in headerDomain:
|
||||
headerDomain = headerDomain + ':' + str(toPort)
|
||||
headerDomain = getFullDomain(toDomain, toPort)
|
||||
|
||||
dateStr = strftime("%a, %d %b %Y %H:%M:%S %Z", gmtime())
|
||||
if not withDigest:
|
||||
|
||||
Reference in new issue
Block a user