# File lib/rfuzz/client.rb, line 45 45: def encode_cookies(cookies) 46: result = "" 47: cookies.each do |k,v| 48: if v.kind_of? Array 49: v.each {|x| result += encode_field("Cookie", encode_param(k,x)) } 50: else 51: result += encode_field("Cookie", encode_param(k,v)) 52: end 53: end 54: return result 55: end