9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steffen Nurpmeso <sdaoden@yandex.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Pjpeg in /sys/lib/mimetype
Date: Mon, 17 Nov 2014 14:40:12 +0100	[thread overview]
Message-ID: <20141117134012.L69Nbq_m%sdaoden@yandex.com> (raw)
In-Reply-To: <8623766F-C1A7-4D9E-910E-F5B92171CD92@ar.aichi-u.ac.jp>

Hello,

arisawa <arisawa@ar.aichi-u.ac.jp> wrote:
 |Does this mean that file suffixes are case sensitive in determining \
 |the mime type?
 |If so, should files with suffix “.JPG” be renamed to “.jpg” ?

The RFC doesn't say a word on case, which i implicitly read as
case-insensitive (because how could it work otherwise).
(And note that i have forgotten which RFC this actually is, but
i can assure you i've read it before i wrote the code comment that
i've repeated in my first sentence.)
Note also that the pretty comprehensive TIKA database only uses
lowercase definitions [1].

  [1] http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/resources/\
      org/apache/tika/mime/tika-mimetypes.xml

--steffen



  reply	other threads:[~2014-11-17 13:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 12:13 arisawa
2014-11-16  0:20 ` arisawa
2014-11-17 13:40   ` Steffen Nurpmeso [this message]
2014-11-17 14:20     ` lucio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141117134012.L69Nbq_m%sdaoden@yandex.com \
    --to=sdaoden@yandex.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).