summaryrefslogtreecommitdiff
path: root/lib/chef/http/cookie_manager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/http/cookie_manager.rb')
-rw-r--r--lib/chef/http/cookie_manager.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/http/cookie_manager.rb b/lib/chef/http/cookie_manager.rb
index a99a8f1cd9..18824a8eff 100644
--- a/lib/chef/http/cookie_manager.rb
+++ b/lib/chef/http/cookie_manager.rb
@@ -27,11 +27,11 @@ class Chef
# it, so it's included with Chef::REST
class CookieManager
- def initialize(options={})
+ def initialize(options = {})
@cookies = CookieJar.instance
end
- def handle_request(method, url, headers={}, data=false)
+ def handle_request(method, url, headers = {}, data = false)
@host, @port = url.host, url.port
if @cookies.has_key?("#{@host}:#{@port}")
headers["Cookie"] = @cookies["#{@host}:#{@port}"]