mirror of
https://github.com/samsonjs/http-cookie.git
synced 2026-03-25 08:55:53 +00:00
Slight change to cookie-jar header
Instead of "Netscape HTTP Cookie File", now writing "HTTP Cookie File". Python's cookie code recognizes either one.
This commit is contained in:
parent
0decfe98b7
commit
184fae797e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue