File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
ring-core/src/ring/middleware Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 7
7
8
8
ring.middleware.multipart-params.byte-array/byte-array-store
9
9
ring.middleware.multipart-params.temp-file/temp-file-store"
10
- (:require [ring.util.codec :refer [assoc-conj]]
10
+ (:require [ring.middleware.multipart-params.temp-file :as tf]
11
+ [ring.util.codec :refer [assoc-conj]]
11
12
[ring.util.request :as req]
12
13
[ring.util.parsing :as parsing])
13
14
(:import [org.apache.commons.fileupload
78
79
:stream (.openStream item)}))
79
80
(.isFormField item)])
80
81
81
- (defn- load-var [sym]
82
- (require (symbol (namespace sym)))
83
- (find-var sym))
84
-
85
- (def ^:private default-store
86
- (delay
87
- (let [store 'ring.middleware.multipart-params.temp-file/temp-file-store
88
- func (load-var store)]
89
- (func ))))
82
+ (def ^:private default-store (delay (tf/temp-file-store )))
90
83
91
84
(defn- parse-multipart-params
92
85
[request {:keys [encoding fallback-encoding store] :as options}]
You can’t perform that action at this time.
0 commit comments