全部搜索项
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 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 ruby-marcel

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 6.0 kB31.0 kB [文件列表]