Receive post with the original path

main
Bob Mottram 2022-11-16 14:00:53 +00:00
parent be510a3ed6
commit 33807ec7a9
1 changed files with 3 additions and 1 deletions

View File

@ -20126,6 +20126,7 @@ class PubServer(BaseHTTPRequestHandler):
This creates a thread to send the new post This creates a thread to send the new post
""" """
page_number = 1 page_number = 1
original_path = path
if '/users/' not in path: if '/users/' not in path:
print('Not receiving new post for ' + path + print('Not receiving new post for ' + path +
@ -20223,7 +20224,8 @@ class PubServer(BaseHTTPRequestHandler):
# other events happen during their decoding # other events happen during their decoding
print('Creating new post from: ' + new_post_thread_name) print('Creating new post from: ' + new_post_thread_name)
self._receive_new_post_process(post_type, self._receive_new_post_process(post_type,
path, headers, length, original_path,
headers, length,
post_bytes, boundary, post_bytes, boundary,
calling_domain, cookie, calling_domain, cookie,
content_license_url, content_license_url,