exvo-auth 0.7.14 → 0.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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)
|