Summary: | Problem associating *.ps.gz to application/postscript | ||
---|---|---|---|
Product: | [Unmaintained] kghostview | Reporter: | Albert Astals Cid <aacid> |
Component: | general | Assignee: | Wilco Greven <greven> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | divided.mind |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Albert Astals Cid
2003-06-15 21:31:59 UTC
This is a tricky one. The problem is that we can only have one mimetype per file something like .ps.gz is more than that. It should be opened by kghostview, but kghostview should recognize it as a gzipped file and gunzip it. If we classify it as application/x-gzip then it gets opened by ark (not good). If we classify it as application/postscript then kghostview doesn't realise it is compressed. Any thoughts, anyone? We should be able to tag them as "application/postscript; compression=gzip". *** Bug 65707 has been marked as a duplicate of this bug. *** I think "application/postscript; content-encoding=application/x-gzip", or somethink like this. This would better reflect the standard headers sent by http servers. Content-Encoding is a different MIME header than Content-Type, but that would be acceptable as well. Note: Content-Encoding: gzip (not application/gzip) Anyways, this requires support in kdelibs that doesn't exist yet. KGhostview can have a workaround for this for the time being. umm, goes deeper than it appears, of course ;) Ok, kghostview is sort of enabled to open *.gz (and *.bz2) files and the application/x-gzpostscript mimetype just introduced handles *.ps.gz files. I am closing this bug here since the real solution which was hinted to here is to be done at kdelibs level. In the meanwhile clicking on a *.ps.gz does open kghostview which does open the file. regards, luis |