9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Pjpeg in /sys/lib/mimetype
@ 2014-11-14 12:13 arisawa
  2014-11-16  0:20 ` arisawa
  0 siblings, 1 reply; 4+ messages in thread
From: arisawa @ 2014-11-14 12:13 UTC (permalink / raw)
  To: Bell Labs of the OS Plan 9 from Fans

Hello,

It is curious for me that ".jpg" has two entries in /sys/lib/mimetype.
term% grep jpeg /sys/lib/mimetype
.jfif		image		jpeg		-		y
.jfif-tbnl	image		jpeg		-		y
.jpe		image		jpeg		-		y
.jpeg		image		jpeg		-		y
.jpg		image		jpeg		-		y
.jpg		image		pjpeg		-		y
term%

The file is currently consulted by only two applications: mail and httpd.
I thought that the file provides conventional way to determine mime type from file suffix.
If so, what is the mime type for "foo.jpg"?

Kenji arisawa




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-17 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14 12:13 [9fans] Pjpeg in /sys/lib/mimetype arisawa
2014-11-16  0:20 ` arisawa
2014-11-17 13:40   ` Steffen Nurpmeso
2014-11-17 14:20     ` lucio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).