mirror of https://gitlab.com/bashrc2/epicyon
Test
parent
4e29751dba
commit
5254c4f536
|
@ -11600,6 +11600,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
def do_GET(self):
|
def do_GET(self):
|
||||||
callingDomain = self.server.domainFull
|
callingDomain = self.server.domainFull
|
||||||
|
|
||||||
|
# TEST
|
||||||
|
print('GET headers: ' + self.path + ' ' +
|
||||||
|
str(self.headers).replace('\n', ', '))
|
||||||
|
|
||||||
if self.headers.get('Host'):
|
if self.headers.get('Host'):
|
||||||
callingDomain = decodedHost(self.headers['Host'])
|
callingDomain = decodedHost(self.headers['Host'])
|
||||||
if self.server.onionDomain:
|
if self.server.onionDomain:
|
||||||
|
@ -11671,11 +11675,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
elif ')' in refererDomain:
|
elif ')' in refererDomain:
|
||||||
refererDomain = refererDomain.split(')')[0]
|
refererDomain = refererDomain.split(')')[0]
|
||||||
|
|
||||||
# TEST for the missing avatar image
|
|
||||||
if '/accounts/avatars/' in self.path:
|
|
||||||
print('GET avatar image: ' + self.path + ' ' +
|
|
||||||
str(self.headers).replace('\n', ', '))
|
|
||||||
|
|
||||||
GETstartTime = time.time()
|
GETstartTime = time.time()
|
||||||
GETtimings = {}
|
GETtimings = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue