I want to make an HTTP connection and just change the HTTP_REFERER and HTTP_USER_AGENT
here is my code
URLConnection con = url.openConnection();
but it doesn't work properly in real world
you can check it with a site like this to see the http request's properties
URL url = new URL("http://www.inet-police.com/cgi-bin/env.cgi
HTTP_USER_AGENT is always "Java/1.5.0_01"
and no referer is set