------art_1036_9202075.1194446153794
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I tried it and it seems that the header is correct.

require 'mechanize'
require 'logger'
logger  ogger.new $stdout
agent  WW::Mechanize.new
agent.log  ogger
ref  WW::Mechanize::Page.new("http://www.mininova.org',{ 'content-type' 'text/html' })
agent.get url, ref

output from logger 
I, [2007-11-07T14:34:06.401219 #23290]  INFO -- : Net::HTTP::Get: /
D, [2007-11-07T14:34:06.401585 #23290] DEBUG -- : request-header:
accept-languag
e en-us,en;q0.5
D, [2007-11-07T14:34:06.401664 #23290] DEBUG -- : request-header: accept */*
D, [2007-11-07T14:34:06.401733 #23290] DEBUG -- : request-header:
accept-encoding gzip,identity
D, [2007-11-07T14:34:06.401801 #23290] DEBUG -- : request-header: user-agent
WWW-Mechanize/0.6.5 (http://rubyforge.org/projects/mechanize/)
D, [2007-11-07T14:34:06.401869 #23290] DEBUG -- : request-header: referer http://www.mininova.org


On Nov 7, 2007 2:37 PM, Ehud Rosenberg <ehudros / gmail.com> wrote:

> Anyone? I'm really stumped here :)
> Thanks...
> --
> Posted via http://www.ruby-forum.com/.
>
>

------art_1036_9202075.1194446153794--