distortion wrote: > > Did some scanning with WireShark and noticed that when i log in to the site > using Firefox the GET /my.php, which is redirected from /login.php, the > http-packet contains a Referer, that says: > Referer: http://www.torrentbytes.net/login.php\r\n > > And when i attempt the same thing with my Java-program the http-packet for > GET /my.php doesn't have any Referer at all, so I'm guessin' that this is > what's causing my problems. Is it possible to send a Referer-attribute or > something?
Sure: http://jakarta.apache.org/httpcomponents/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpMethod.html#setRequestHeader(java.lang.String,%20java.lang.String) cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]