Skip to content

Loading…

Streaming is now SSL only. #2

Merged
merged 1 commit into from

2 participants

@hotwoofy

No description provided.

@ashafa
Owner

Yup. Thank you. I'm going to have to fire up the ol' JVM for this one.

@ashafa ashafa merged commit 4021962 into ashafa:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 17, 2012
  1. @hotwoofy

    Streaming is now SSL only.

    hotwoofy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/ashafa/nozzle.clj
View
2 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
Something went wrong with that request. Please try again.