lib/api_auth/request_drivers/rack.rb in api-auth-1.1.0 vs lib/api_auth/request_drivers/rack.rb in api-auth-1.2.0

- old
+ new

@@ -23,10 +23,10 @@ body = @request.body.read @request.body.rewind else body = '' end - Digest::MD5.base64digest(body) + md5_base64digest(body) end def populate_content_md5 if ['POST', 'PUT'].include?(@request.request_method) @request.env["Content-MD5"] = calculated_md5