admc/jellyfish — pull request #11 by MauriceSchoenmakers (2012-04-25 05:30:01+00:00)
Title: add default headers p.e. for testing with mobile user agents

example use case:

var browser = jellyfish.createJellyfish("firefox", "http://m.test2.o2online.de/vertrag/verbrauch", that.callback);

browser.default_headers =
{ 'X-WAPCLI':'491792412158',
'User-Agent':'Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3',
};