in reply to Firefox user agent in mechanize

Read the WWW::Mechanize docs, it lists the valid user agents. 'Firefox/3.5.7' isn't a valid user agent alias string. See also Firefox User Agent Strings.

Update: Yes, I messed up, I meant to say'Firefox/3.5.7' isn't a valid user agent alias, rather than string. Thanks ikegami

Replies are listed 'Best First'.
Re^2: Firefox user agent in mechanize
by ikegami (Patriarch) on Jun 03, 2010 at 16:06 UTC

    You mean it's not a valid user agent alias. It is a valid user agent string, which means it could be passed to ->agent(), but it's not one Firefox uses. You can get some agent string used by Firefox on this page.

      Ugg, yeah, thanks for the correction. My fault for doing too many things at once.

Re^2: Firefox user agent in mechanize
by Anonymous Monk on Jun 03, 2010 at 16:16 UTC
    golly, that's a nice link -thank you