mirror of https://gitlab.com/bashrc2/epicyon
Debug for image requests
parent
bd66c4420f
commit
cff042fcb0
|
@ -9932,6 +9932,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('@ detected: html ' + str(htmlGET))
|
print('@ detected: html ' + str(htmlGET))
|
||||||
print('@ detected: path ' + self.path)
|
print('@ detected: path ' + self.path)
|
||||||
|
|
||||||
|
# if an image is received
|
||||||
|
if not htmlGET:
|
||||||
|
if self.headers.get('Accept'):
|
||||||
|
if 'image/' in self.headers['Accept']:
|
||||||
|
print('image GET header: ' + str(self.headers).replace('\n', ', '))
|
||||||
|
|
||||||
# get css
|
# get css
|
||||||
# Note that this comes before the busy flag to avoid conflicts
|
# Note that this comes before the busy flag to avoid conflicts
|
||||||
if self.path.endswith('.css'):
|
if self.path.endswith('.css'):
|
||||||
|
|
Loading…
Reference in New Issue