On Fri, May 9, 2008 at 2:27 PM, Jeff Kowalczyk <[EMAIL PROTECTED]> wrote:
> Is there anything I need to do with the mech_browser attribute to send a > custom User-Agent header with zope.testbrowser.browser.Browser? There's no way to do a custom User-Agent with just testbrowser. The way to do it with mechanize is described in http://wwwsearch.sourceforge.net/mechanize/doc.html, which should work if used on the mech_browser attribute of a testbrowser instance. Note that the mech_browser attribute is an undocumented implementation detail and may disappear without warning. Swim at your own risk, no lifeguard on duty. -- Benji York Senior Software Engineer Zope Corporation _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users