Paket: ruby-marcel (0.3.2-1)
Links für ruby-marcel
Trisquel-Ressourcen:
Quellcode-Paket ruby-marcel herunterladen:
Betreuer:
Original Maintainers:
- Debian Ruby Extras Maintainers (E-Mail-Archiv)
- Sruthi Chandran
Externe Ressourcen:
- Homepage [github.com]
Ähnliche Pakete:
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.
Andere Pakete mit Bezug zu ruby-marcel
|
|
|
-
- dep: ruby
- Interpreter of object-oriented scripting language Ruby (default version)
- oder ruby-interpreter
- Paket nicht verfügbar
-
- dep: ruby-mimemagic (>= 0.3.2)
- fast MIME detection by extension or content
ruby-marcel herunterladen
Architektur | Paketgröße | Größe (installiert) | Dateien |
---|---|---|---|
all | 6,4 kB | 46 kB | [Liste der Dateien] |