Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #2772
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Joshua Cranmer <Pidgeot18@verizon.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: HTTP and Java |
| Date | Sat, 02 Apr 2011 16:27:21 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 20 |
| Message-ID | <in80r9$dbh$2@dont-email.me> (permalink) |
| References | <kogdp6l1id6c90b2fr1dlufr5k6ukj9ft3@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Sat, 2 Apr 2011 20:27:21 +0000 (UTC) |
| Injection-Info | mx01.eternal-september.org; posting-host="LtjcJP1H6uHOtkcPMh0bUA"; logging-data="13681"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+M2DVqBnPMDhzjfVjUqi3bkouJl/e2IxY=" |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.16pre) Gecko/20110305 Lightning/1.0b3pre Thunderbird/3.1.10pre |
| In-Reply-To | <kogdp6l1id6c90b2fr1dlufr5k6ukj9ft3@4ax.com> |
| Cancel-Lock | sha1:HX5iLxlc81GcIZTnizKT5taScUE= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:2772 |
Show key headers only | View raw
On 04/02/2011 02: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? A plausible technique is the use of separating out the real content into things which require further loading--like requiring client-side scripting, cookies, use of CSS, iframes, images, embedded plugins (e.g., Flash or Silverlight), client-side redirects. You can then ensure that these things are also downloaded before accepting other page requests. An additional factor could be if browsers actually use HTTP different from Java... e.g., if one pipelines and the other doesn't, or perhaps automatic SSL upgrading, etc. It all comes down to how many false negatives the server is willing to bear. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
HTTP and Java Roedy Green <see_website@mindprod.com.invalid> - 2011-04-01 23:35 -0700
Re: HTTP and Java Luuk <Luuk@invalid.lan> - 2011-04-02 10:55 +0200
Re: HTTP and Java Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-02 21:58 +1300
Re: HTTP and Java Tom Anderson <twic@urchin.earth.li> - 2011-04-02 14:22 +0100
Re: HTTP and Java Patricia Shanahan <pats@acm.org> - 2011-04-02 06:26 -0700
Re: HTTP and Java Roedy Green <see_website@mindprod.com.invalid> - 2011-04-02 23:17 -0700
Re: HTTP and Java Luuk <Luuk@invalid.lan> - 2011-04-03 12:58 +0200
Re: HTTP and Java Roedy Green <see_website@mindprod.com.invalid> - 2011-04-03 16:47 -0700
Re: HTTP and Java Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-04-02 16:27 -0400
Re: HTTP and Java Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-04-03 09:50 -0300
Re: HTTP and Java Roedy Green <see_website@mindprod.com.invalid> - 2011-04-03 16:51 -0700
Re: HTTP and Java Tom Anderson <twic@urchin.earth.li> - 2011-04-04 23:25 +0100
Re: HTTP and Java Ian Shef <invalid@avoiding.spam> - 2011-04-04 23:06 +0000
Re: HTTP and Java Roedy Green <see_website@mindprod.com.invalid> - 2011-04-04 22:17 -0700
Re: HTTP and Java Roedy Green <see_website@mindprod.com.invalid> - 2011-04-04 22:18 -0700
csiph-web