Permalink
Browse files

Merge pull request #2 from hotwoofy/patch-1

Streaming is now SSL only.
  • Loading branch information...
2 parents 144fb79 + 61d695e commit 4021962b173c695a2b54795fb8c4af54a7b50270 @ashafa committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/ashafa/nozzle.clj
@@ -98,7 +98,7 @@
stream-method (nozzle :stream-method)
method (if (= stream-method "filter") "POST" "GET")
query-string (map-to-query-string (nozzle :parameters-map))
- url (str "http://stream.twitter.com/" twitter-api-version "/statuses/" stream-method ".json"
+ url (str "https://stream.twitter.com/" twitter-api-version "/statuses/" stream-method ".json"
(if (= method "GET") (str "?" query-string)))
body (if (= method "POST") query-string)]
(h/http-agent url

0 comments on commit 4021962

Please sign in to comment.