Permalink
Browse files

Remove contrib dependencies from r.m.file-info.

  • Loading branch information...
1 parent 23f6317 commit e68bdbf7cb959e4762430308b4a3a4da3a4730cc @mmcgrana committed Oct 26, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 ring-core/src/ring/middleware/file_info.clj
View
5 ring-core/src/ring/middleware/file_info.clj
@@ -1,12 +1,11 @@
(ns ring.middleware.file-info
"Augment Ring File responses."
- (:use [clojure.contrib.def :only (defvar-)]
- ring.util.response)
+ (:use ring.util.response)
(:import java.io.File
[java.util Date Locale TimeZone]
java.text.SimpleDateFormat))
-(defvar- base-mime-types
+(def ^:private base-mime-types
{"ai" "application/postscript"
"asc" "text/plain"
"avi" "video/x-msvideo"

0 comments on commit e68bdbf

Please sign in to comment.