[Trac-tickets] Re: [The Trac Project] #2105: identify the mimetype
The Trac Project
noreply at edgewall.com
Fri Sep 23 09:12:25 CDT 2005
#2105: identify the mimetype
-------------------------+--------------------------------------------------
Reporter: otavio | Owner: cboos
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.0
Component: general | Version: devel
Severity: minor | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Changes (by cboos):
* status: new => assigned
* milestone: => 1.0
Old description:
> Would be great if trac identify the mime type also by reading the file
> header.
>
> For example, debian/rules files has it's first line set to
> #!/usr/bin/make -f and is safe to use Makefile highlight for it. This
> apply too to shell scripts and others.
>
> Thanks in advance,
New description:
Would be great if trac identify the mime type also by reading the file
header.
For example, debian/rules files has it's first line set to
`#!/usr/bin/make -f` and is safe to use Makefile highlight for it. This
apply too to shell scripts and others.
Thanks in advance,
Comment:
The above refactoring is a kind of follow-up to r2276:
less duplicated mimeview related code in `attachment.py`, `browser.py`
and now `changeset.py`, and put the common code in `mimeview/api.py`.
Not necessarily for [milestone:0.9], as it's just an enhancement.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2105>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list