mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Add user agent
This commit is contained in:
1 parent
0835e38a21
commit
daccb6f10e
1 file changed
+3
-1
@@ -9085,9 +9085,11 @@ class PubServer(BaseHTTPRequestHandler):
|
||||
callingDomain, port,
|
||||
boxPath,
|
||||
httpPrefix, False, None)
|
||||
self.headers.clear()
|
||||
for headerName, headerItem in signatureHeaderJson.items():
|
||||
self.headers[headerName] = headerItem
|
||||
self.headers['User-Agent'] = \
|
||||
'Epicyon/' + __version__ + \
|
||||
'; +' + httpPrefix + '://' + domainFull + '/'
|
||||
if atPath:
|
||||
print('@ detected outgoing actor: ' + str(actorJson))
|
||||
print('@ detected outgoing headers: ' +
|
||||
|
||||
Reference in new issue
Block a user