summaryrefslogtreecommitdiff
path: root/lib/chef/http.rb
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2013-10-04 12:39:50 -0700
committerdanielsdeleo <dan@opscode.com>2013-10-08 15:01:47 -0700
commit09814db46f9653bacccc239f2f02857474b1e113 (patch)
tree1406c78c672b94d1ece00ff99ed22dce3999ea7c /lib/chef/http.rb
parent1cf066b656daf8c0035d2f18ef5ffa33261d0ce9 (diff)
downloadchef-09814db46f9653bacccc239f2f02857474b1e113.tar.gz
Top-level HTTP object doens't deal with cookies now
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r--lib/chef/http.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index 90199e9246..92847ece3e 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -30,6 +30,7 @@ require 'chef/config'
require 'chef/exceptions'
class Chef
+
# == Chef::HTTP
# Basic HTTP client, with support for adding features via middleware
class HTTP
@@ -43,7 +44,6 @@ class Chef
end
attr_reader :url
- attr_reader :cookies
attr_reader :sign_on_redirect
attr_reader :redirect_limit
@@ -55,7 +55,6 @@ class Chef
# HTTP GET request to http://localhost:4000/nodes
def initialize(url, options={})
@url = url
- @cookies = HTTP::CookieJar.instance
@default_headers = options[:headers] || {}
@sign_on_redirect = true
@redirects_followed = 0