mirror of https://gitlab.com/bashrc2/epicyon
Setting headers
parent
9534197005
commit
77ff39aa06
|
@ -9268,7 +9268,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.translate).encode('utf-8')
|
self.server.translate).encode('utf-8')
|
||||||
self._login_headers('text/html', len(msg), callingDomain)
|
self._login_headers('text/html', len(msg), callingDomain)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
for fieldName, fieldValue in currHeaders.items():
|
for headerField in currHeaders:
|
||||||
|
print(str(headerField))
|
||||||
|
fieldName = headerField[0]
|
||||||
|
fieldValue = headerField[1]
|
||||||
self.headers[fieldName] = fieldValue
|
self.headers[fieldName] = fieldValue
|
||||||
|
|
||||||
if postType == 'newpost':
|
if postType == 'newpost':
|
||||||
|
|
Loading…
Reference in New Issue