We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac821a5 + 275095c commit afc300fCopy full SHA for afc300f
ring-core/src/ring/util/request.clj
@@ -26,7 +26,7 @@
26
{:added "1.3"}
27
[request]
28
(if-let [^String length (get-in request [:headers "content-length"])]
29
- (Long. length)))
+ (Long/valueOf length)))
30
31
(defn character-encoding
32
"Return the character encoding for the request, or nil if it is not set."
0 commit comments