in reply to www::mechanize not behaving as browser?
It is the stupid servers/cgi programs which is making assumptions, basically expecting a specific brand of browser and exploding when it gets something different.
So if you're going to fool these stupid programs, you have to pretend you are that specific brand of browser.
The way you do this is by using a regular browser to navigate the website successfully while you record the HTTP conversation with HTTP::Recorder/WireShark/Ethereal/LiveHTTPHeaders... and then you configure WWW::Mechanize to send similar headers....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: www::mechanize not behaving as browser?
by jonnyfolk (Vicar) on Jul 24, 2010 at 10:54 UTC | |
by Anonymous Monk on Jul 24, 2010 at 12:12 UTC |