Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Commit

Permalink
examples: client/twitter: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rhenium committed Nov 9, 2015
1 parent 223addb commit f7d75b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/client/twitter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
streaming.get("/1.1/user.json",
headers: { "authorization" => SimpleOAuth::Header.new(:get, "https://userstream.twitter.com/1.1/user.json", {}, credentials).to_s,
"accept-encoding" => "identity;q=1" }) { |res| # plum doesn't have built-in gzip/deflate decoder
if res.status != 200
if res.status != "200"
puts "failed userstream"
exit
end
Expand Down

0 comments on commit f7d75b3

Please sign in to comment.