すべてのオプション
buster  ] [  bullseye  ] [  bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ ソース: ruby-marcel  ]

パッケージ: ruby-marcel (0.3.2-4)

ruby-marcel に関するリンク

Screenshot

Debian の資源:

ruby-marcel ソースパッケージをダウンロード:

メンテナ:

外部の資源:

類似のパッケージ:

Simple mime type detection

Marcel attempts to choose the most appropriate content type for a given file by looking at the binary data, the filename, and any declared type (perhaps passed as a request header).

By preference, the magic number data in any passed in file is used to determine the type. If this doesn't work, it uses the type gleaned from the filename, extension, and finally the declared type. If no valid type is found in any of these, "application/octet-stream" is returned.

Some types aren't easily recognised solely by magic number data. For example Adobe Illustrator files have the same magic number as PDFs (and can usually even be viewed in PDF viewers!). For these types, Marcel uses both the magic number data and the file name to work out the type.

その他の ruby-marcel 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • enhances

ruby-marcel のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 6.0 kB31.0 kB [ファイル一覧]