Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.glorb.com!news2.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe17.iad.POSTED!8ad76e89!not-for-mail From: Arved Sandstrom User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 Newsgroups: comp.lang.java.programmer Subject: Re: HTTP and Java References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Lines: 28 Message-ID: X-Complaints-To: abuse@newsgroups-download.com NNTP-Posting-Date: Sun, 03 Apr 2011 12:50:38 UTC Organization: Public Usenet Newsgroup Access Date: Sun, 03 Apr 2011 09:50:38 -0300 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2803 On 11-04-02 03:35 AM, Roedy Green wrote: > If Java sent an identical HTTP header, to that sent by a browser, > including User-Agent to a website, is there a plausible mechanism by > which a website would treat the requests differently, namely reject > Java and accept the browser request? When curling that first URL (www.ecs.com.tw), I get a A curl on that gives me a 302 to http://www.ecs.com.tw/ECSWebSite/Index.aspx?MenuID=0&LanID=0 which when fetched (a curl -L on the 302-producing page) is a "real" page. I think it's simply that your Java code is incorrect. Every request above produces an ... page. AHS -- That's not the recollection that I recall...All this information is certainly in the hands of the auditor and we certainly await his report to indicate what he deems has occurred. -- Halifax, Nova Scotia mayor Peter Kelly, who is currently deeply in the shit