twitter_oauth 0.4.93 → 0.4.94
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/twitter_oauth.rb +1 -1
- data/lib/twitter_oauth/client.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e103c63f0390dd904b1d44a730d6feb08ecd67f
|
4
|
+
data.tar.gz: 1c7d894eea66df6f83852585103b60bcb99100ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a949adbf475d708e7a1e7fe03db240acce822caa2c17338fd7ad54286f51a098561719affa11b0dc36a3ea61e8ec1cdc5458a2fd883d8d4b520a1c7a7882066
|
7
|
+
data.tar.gz: 71f222ed620990c9f33ff119151bdbf97dd71b082d766beba88f5592a516d6f2b413355c621787f7445e2f35cdfd81962efdce9f91f18f76d20f9061f64cdea5
|
data/lib/twitter_oauth.rb
CHANGED
data/lib/twitter_oauth/client.rb
CHANGED
@@ -77,6 +77,7 @@ module TwitterOAuth
|
|
77
77
|
def post(path, body='', headers={})
|
78
78
|
puts "[Client] POST #{path}" if @debug
|
79
79
|
headers.merge!("User-Agent" => "twitter_oauth gem v#{TwitterOAuth::VERSION}")
|
80
|
+
headers.merge!("Content-Type" => "application/x-www-form-urlencoded\r\n")
|
80
81
|
oauth_response = access_token.post("/#{@api_version}#{path}", body, headers)
|
81
82
|
parse(oauth_response.body)
|
82
83
|
end
|