class Protocol::HTTP::Header::Cookie
def to_h
Parses the `cookie` header into a hash of cookie names and their corresponding cookie objects.
def to_h cookies = self.collect do |string| HTTP::Cookie.parse(string) end cookies.map{|cookie| [cookie.name, cookie]}.to_h end