a site i'm going to uses a sniffer to detect that the http unit is neither an IE browswer or Netscape browser. i'm having trouble setting httpunit to trick the site in thinking its IE browsing the site
i tried to do the following:
ClientProperties cp = wc.getClientProperties();
cp.setApplicationName( "Microsoft Internet Explorer" );
cp.setApplicationVersion( "5.5" );
cp.setUserAgent( "Microsoft Internet Explorer 5.5" );
but it's not working
any suggestions would be very much appreciated
thank u
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
a site i'm going to uses a sniffer to detect that the http unit is neither an IE browswer or Netscape browser. i'm having trouble setting httpunit to trick the site in thinking its IE browsing the site
i tried to do the following:
ClientProperties cp = wc.getClientProperties();
cp.setApplicationName( "Microsoft Internet Explorer" );
cp.setApplicationVersion( "5.5" );
cp.setUserAgent( "Microsoft Internet Explorer 5.5" );
but it's not working
any suggestions would be very much appreciated
thank u