Skip to content
Browse files

Remove word "Netscape" from cookiejar header line

The header line was added for compatibility with Python, but Python
only requires "HTTP Cookie File"; the word "Netscape" is optional.
  • Loading branch information...
1 parent f851b52 commit 7df242a4e6e4674a7a471dd01313d3c72a9e3fb3 @mmorearty mmorearty committed with Mike Morearty Feb 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mechanize/cookie_jar.rb
2 lib/mechanize/cookie_jar.rb
@@ -187,7 +187,7 @@ def load_cookiestxt(io)
# Write cookies to Mozilla cookies.txt-style IO stream
def dump_cookiestxt(io)
- io.puts "# Netscape HTTP Cookie File"
+ io.puts "# HTTP Cookie File"
to_a.each do |cookie|

0 comments on commit 7df242a

Please sign in to comment.
Something went wrong with that request. Please try again.