Skip to content

Commit

Permalink
ring-servlet: removed the newline at the end of the response body
Browse files Browse the repository at this point in the history
  • Loading branch information
Günter Glück committed Nov 9, 2010
1 parent 160b8b0 commit 812b240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ring-servlet/src/ring/util/servlet.clj
Expand Up @@ -75,7 +75,7 @@
(cond
(string? body)
(with-open [writer (.getWriter response)]
(.println writer body))
(.print writer body))
(seq? body)
(with-open [writer (.getWriter response)]
(doseq [chunk body]
Expand Down

0 comments on commit 812b240

Please sign in to comment.