Permalink
Browse files

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

  • Loading branch information...
1 parent 12a2010 commit 30c08e3b5b9a2d297d36f253e52cfac61cfb4488 @mmcgrana committed Nov 1, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 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 true} base-mime-types
{"ai" "application/postscript"
"asc" "text/plain"
"avi" "video/x-msvideo"

0 comments on commit 30c08e3

Please sign in to comment.