Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Commit

Permalink
update to use netty 3.5.11.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Dec 13, 2012
1 parent ff83c04 commit 2cdf946
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@
/checkouts
/.lein-deps-sum
*DS_Store*
/target
2 changes: 1 addition & 1 deletion project.clj
Expand Up @@ -8,7 +8,7 @@
:main aloha.core
:dependencies [[org.clojure/clojure "1.4.0"]
[org.clojure/tools.logging "0.2.3"]
[io.netty/netty "3.5.2.Final"]
[io.netty/netty "3.5.11.Final"]
[clj-http "0.3.6"]
[org.clojure/tools.cli "0.2.1"]
[potemkin "0.1.5"]]
Expand Down
3 changes: 2 additions & 1 deletion src/aloha/utils.clj
Expand Up @@ -30,7 +30,8 @@

(def netty-method->keyword
(zipmap
(map #(HttpMethod/valueOf (name %)) request-methods)
(map #(-> % name .toUpperCase HttpMethod/valueOf)
request-methods)
request-methods))

(defn request-method [^HttpRequest request]
Expand Down

0 comments on commit 2cdf946

Please sign in to comment.