mirror of https://gitlab.com/bashrc2/epicyon
Get and set header fields
parent
8f8f57285f
commit
0ba1cc0ead
|
@ -9261,13 +9261,14 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
privateEvent = True
|
||||
|
||||
# show a sending post screen
|
||||
currHeaders = self.headers.copy()
|
||||
currHeaders = self.headers.items()
|
||||
msg = \
|
||||
htmlSendingPost(self.server.baseDir,
|
||||
self.server.translate).encode('utf-8')
|
||||
self._login_headers('text/html', len(msg), callingDomain)
|
||||
self._write(msg)
|
||||
self.headers = currHeaders.copy()
|
||||
for fieldName, fieldValue in currHeaders.items():
|
||||
self.headers[fieldName] = fieldValue
|
||||
|
||||
if postType == 'newpost':
|
||||
messageJson = \
|
||||
|
|
Loading…
Reference in New Issue