diff --git a/examples/upc-httpd.py b/examples/upc-httpd.py index 5adf99d0..fc6c3498 100755 --- a/examples/upc-httpd.py +++ b/examples/upc-httpd.py @@ -208,7 +208,7 @@ def generate(self, bctype, bcsize, bcrotate, imgtype): cherrypy.response.headers['Content-Type'] = "image/jpeg" if(file_ext[1] == "BMP"): cherrypy.response.headers['Content-Type'] = "image/bmp" - if(file_ext[1] == "EPS"): + if(file_ext[1] == "PS"): cherrypy.response.headers['Content-Type'] = "application/postscript" if(file_ext[1] == "EPS"): cherrypy.response.headers['Content-Type'] = "application/postscript" @@ -266,7 +266,7 @@ def index(self, **params): cherrypy.response.headers['Content-Type'] = "image/jpeg" if(file_ext[1] == "BMP"): cherrypy.response.headers['Content-Type'] = "image/bmp" - if(file_ext[1] == "EPS"): + if(file_ext[1] == "PS"): cherrypy.response.headers['Content-Type'] = "application/postscript" if(file_ext[1] == "EPS"): cherrypy.response.headers['Content-Type'] = "application/postscript" @@ -326,7 +326,7 @@ def generate(self, bctype, bcsize, bcrotate, imgtype): cherrypy.response.headers['Content-Type'] = "image/jpeg" if(file_ext[1] == "BMP"): cherrypy.response.headers['Content-Type'] = "image/bmp" - if(file_ext[1] == "EPS"): + if(file_ext[1] == "PS"): cherrypy.response.headers['Content-Type'] = "application/postscript" if(file_ext[1] == "EPS"): cherrypy.response.headers['Content-Type'] = "application/postscript"