Displaying 2 results from an estimated 2 matches for "cookie1".
Did you mean:
cookie
2010 Nov 14
1
RCurl and cookies in POST requests
...re stored. If postForm() is used
(currently commented), only 1 cookie is written.
--
SDF Public Access UNIX System - http://sdf.lonestar.org
-------------- next part --------------
# The script will call no_cookie() if no cookies file exists.
# It will then read the cookie XXX (its value is "cookie1").
# When XXX has been read, it will be written to "c_file" with
# "rm(curlHandle) ; gc()". Finally the script will test whether
# cookie ZZZ (its value is "cookie2") exists. If it doesn't,
# then the script will retrive the same URL as before, which
# will re...
2005 Feb 07
1
[matz@ruby-lang.org: Re: Performance of CGI::Cookie / SimpleDelegator fix]
...fix didn''t make it into ruby 1.8.2:
I will merge the fix to 1.8. Apply the patch or wait for 1.8.3
(which will be released in April, hopefully).
matz.
--- lib/cgi.rb 1 Nov 2004 23:53:48 -0000 1.68.2.9
+++ lib/cgi.rb 8 Feb 2005 00:32:29 -0000
@@ -772,3 +772,3 @@ class CGI
# cookie1.secure = true
- class Cookie < SimpleDelegator
+ class Cookie < DelegateClass(Array)
----- End forwarded message -----
--
William <wmorgan-rubytorrent-devel@masanjin.net>