From 184fae797e1a3db870befb4ec7162bb904072c41 Mon Sep 17 00:00:00 2001 From: Mike Morearty Date: Mon, 18 Feb 2013 15:54:14 -0800 Subject: [PATCH] Slight change to cookie-jar header Instead of "Netscape HTTP Cookie File", now writing "HTTP Cookie File". Python's cookie code recognizes either one. --- lib/http/cookie_jar.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http/cookie_jar.rb b/lib/http/cookie_jar.rb index dce37f9..f778171 100644 --- a/lib/http/cookie_jar.rb +++ b/lib/http/cookie_jar.rb @@ -163,7 +163,7 @@ class HTTP::CookieJar # Write cookies to Mozilla cookies.txt-style IO stream and return # self. def dump_cookiestxt(io) - io.puts "# Netscape HTTP Cookie File" + io.puts "# HTTP Cookie File" to_a.each do |cookie| io.print cookie.to_cookiestxt_line end