exvo-auth 0.7.14 → 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/exvo-auth.gemspec +1 -1
- data/lib/exvo_auth/autonomous/http.rb +5 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.15
|
data/exvo-auth.gemspec
CHANGED
@@ -7,8 +7,11 @@ module ExvoAuth::Autonomous::Http
|
|
7
7
|
http.post(*args)
|
8
8
|
end
|
9
9
|
|
10
|
-
def put(
|
11
|
-
|
10
|
+
def put(path, options = {})
|
11
|
+
# This fixes 411 responses from nginx (on heroku)
|
12
|
+
# when Content-Length is missing on put requests.
|
13
|
+
options[:body] ||= ""
|
14
|
+
http.put(path, options)
|
12
15
|
end
|
13
16
|
|
14
17
|
def delete(*args)
|