class Protocol::HTTP::Header::Cookie

The Cookie HTTP request header contains stored HTTP cookies previously sent by the server with the Set-Cookie header.

def to_h

def to_h
	cookies = self.collect do |string|
		HTTP::Cookie.parse(string)
	end
	
	cookies.map{|cookie| [cookie.name, cookie]}.to_h
end