mirror of https://gitlab.com/bashrc2/epicyon
Remove content type
parent
67ca4450a6
commit
e41dec3db6
|
@ -1845,7 +1845,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if extension=='jpeg':
|
if extension=='jpeg':
|
||||||
extension='jpg'
|
extension='jpg'
|
||||||
filename=filenameBase+'.'+extension
|
filename=filenameBase+'.'+extension
|
||||||
attachmentMediaType=searchStr.decode().split('/')[0]
|
attachmentMediaType=searchStr.decode().split('/')[0].replace('Content-Type: ','')
|
||||||
break
|
break
|
||||||
if filename and imageLocation>-1:
|
if filename and imageLocation>-1:
|
||||||
# locate the beginning of the image, after any
|
# locate the beginning of the image, after any
|
||||||
|
|
Loading…
Reference in New Issue