diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/clojure/contrib/http/connection.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/contrib/http/connection.clj b/src/clojure/contrib/http/connection.clj index 81d897c9..d664f237 100644 --- a/src/clojure/contrib/http/connection.clj +++ b/src/clojure/contrib/http/connection.clj @@ -28,7 +28,7 @@ send-request-entity (fn [conn entity] (type entity))) (defmethod send-request-entity duck/*byte-array-type* [conn entity] - (.setFixedLenghtStreamingMode conn (count entity)) + (.setFixedLengthStreamingMode conn (count entity)) (duck/copy entity (.getOutputStream conn))) (defmethod send-request-entity String [conn entity] |