[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: About proxy setup on accessing update site??

Hello,
I may be wrong, but usually option "Use IE setup" in context of proxy, means that program should ask IE for proxy. It's specially useful if your company makes use of proxy scripts, that IE supports. I am not sure if eg. wget under cygwin with "IE setup" introduces itself over HTTP as IE and not wget.


Eclipse access to Internet is usually handled directly by JVM, so it uses headers like this:
User-Agent: Java/1.6.0_01


You can manipulate this by adding -Duser.agent="Something that you prefer" to command line, or to eclipse.ini
But I've noticed, it actually uses something like this then:


User-Agent: "Something that you prefer" Java/1.6.0_01

One exception is Eclipse internal browser - it's backed by IE, so it will present itself as IE.

Btw, I wonder, how are you going to access HTTPS sites, as it's not possible to determine what agent is used over encrypted connection.

Carfield Yim wrote:
Look like my company network will check the HTTP agent to see if it is IE or not, and all none IE connection will be blocked. Is there any solution about this? I can see there is proxy settup at eclipse preference, can I set anything there to simulate IE??

For cygwin, there is a proxy setting call "Use IE setup", which work just fine for my company network.