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