全部搜尋項
buster  ] [  bullseye  ] [  bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: ruby-marcel  ]

套件:ruby-marcel(1.0.1+dfsg-2)

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

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 33。7 kB186。0 kB [檔案列表]