mirror of https://gitlab.com/bashrc2/epicyon
Avoid duplicates
parent
80a0560fed
commit
f2b295ed7b
|
@ -635,7 +635,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
headersDict['Content-type']=self.headers['Content-type']
|
headersDict['Content-type']=self.headers['Content-type']
|
||||||
if self.headers.get('Content-Length'):
|
if self.headers.get('Content-Length'):
|
||||||
headersDict['Content-Length']=self.headers['Content-Length']
|
headersDict['Content-Length']=self.headers['Content-Length']
|
||||||
if self.headers.get('content-length'):
|
elif self.headers.get('content-length'):
|
||||||
headersDict['content-length']=self.headers['content-length']
|
headersDict['content-length']=self.headers['content-length']
|
||||||
|
|
||||||
# For follow activities add a 'to' field, which is a copy
|
# For follow activities add a 'to' field, which is a copy
|
||||||
|
|
Loading…
Reference in New Issue