[ckan-changes] [ckan/ckan] efe7cd: [WIP] Fixes to mimetype failures in #1534

GitHub noreply at github.com
Thu Feb 27 18:24:27 UTC 2014


  Branch: refs/heads/1534-mimetype-fix
  Home:   https://github.com/ckan/ckan
  Commit: efe7cd37ff4edb8f0c5d8a7e66de43ef6875921e
      https://github.com/ckan/ckan/commit/efe7cd37ff4edb8f0c5d8a7e66de43ef6875921e
  Author: Ross Jones <ross at servercode.co.uk>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M ckan/config/environment.py
    M ckan/controllers/package.py

  Log Message:
  -----------
  [WIP] Fixes to mimetype failures in #1534

Adds a default of application/octet-stream where the mimetype was not discernable.

During environment setup also calls a new function to preload some mimetypes based on extensions that are not often found in /etc/mime.types




More information about the ckan-changes mailing list