# File lib/rfuzz/client.rb, line 63 63: def encode_cookies(cookies) 64: result = "" 65: cookies.each do |k,v| 66: if v.kind_of? Array 67: v.each {|x| result << encode_field(COOKIE, encode_param(k,x)) } 68: else 69: result << encode_field(COOKIE, encode_param(k,v)) 70: end 71: end 72: return result 73: end