lib/api_auth/request_drivers/http.rb in api-auth-2.2.1 vs lib/api_auth/request_drivers/http.rb in api-auth-2.3.0
- old
+ new
@@ -16,9 +16,10 @@
md5_base64digest(body)
end
def populate_content_md5
return unless %w[POST PUT].include?(http_method)
+
@request['Content-MD5'] = calculated_md5
end
def md5_mismatch?
if %w[POST PUT].include?(http_method)