mirror of https://gitlab.com/bashrc2/epicyon
Restore headers
parent
915fc1f0ba
commit
673d7f6075
10
daemon.py
10
daemon.py
|
@ -9279,7 +9279,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
privateEvent = True
|
privateEvent = True
|
||||||
|
|
||||||
# make a copy of the headers
|
# make a copy of the headers
|
||||||
# currHeaders = self.headers.items()
|
currHeaders = self.headers.items()
|
||||||
# show a sending post screen
|
# show a sending post screen
|
||||||
msg = \
|
msg = \
|
||||||
htmlSendingPost(self.server.baseDir,
|
htmlSendingPost(self.server.baseDir,
|
||||||
|
@ -9287,10 +9287,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._login_headers('text/html', len(msg), callingDomain)
|
self._login_headers('text/html', len(msg), callingDomain)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
# restore headers
|
# restore headers
|
||||||
# for headerField in currHeaders:
|
for headerField in currHeaders:
|
||||||
# fieldName = headerField[0]
|
fieldName = headerField[0]
|
||||||
# fieldValue = headerField[1]
|
fieldValue = headerField[1]
|
||||||
# self.headers[fieldName] = fieldValue
|
self.headers[fieldName] = fieldValue
|
||||||
|
|
||||||
if postType == 'newpost':
|
if postType == 'newpost':
|
||||||
messageJson = \
|
messageJson = \
|
||||||
|
|
Loading…
Reference in New Issue