-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Jim Van Fleet wrote: > I am writing an app that takes in some basic data and then scours some > known Internet locations for more data relevant to the input. > > One of them relys on cookies to get the data in a form I can use. > Net::HTTP appears not to use cookies, even if you're inside the same > .start block. > > Does open-uri offer cookies? I was under the impression that it was > more of a wrapper. > > Is there a way to provide a cookie? I could likely synthesize the > information that the server was looking for. I know you already found the way... But FYI and ADV. Type "http cookie" at the right top corner box of RAA (http://raa.ruby-lang.org/) to find http-access2. Here's a sample: http://raa.ruby-lang.org/gonzui/markup/http-access2/sample/howto.rb Regards, // NaHi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) iD8DBQFCmc/sf6b33ts2dPkRAseuAKCfESqMzXzJWERQvrGYavESr0NNPgCgyypY z4q1Fr2jLIfxSbQkr66htuM= =2hOd -----END PGP SIGNATURE-----