W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1997

Handling of redirections

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Sat, 24 May 1997 13:53:31 +0200 (MET DST)
Message-Id: <199705241153.NAA20802@www43.inria.fr>
To: mark@intraspect.com
Cc: www-jigsaw@w3.org
Mark Friedman writes:
 > Looking at the HttpManager and HttpURLConnection, it seems that
 > redirection is not automatically handled by the HTTP client code (except
 > to reset the request's URL). Is that true? If so, it would be nice if
 > there could be an option to runRequest() to have it follow the
 > redirections.

runRequest is meant to be "as stupi as possible" leaving any
cleverness to uppper layers (ie HttpURLConnection does the redirection
- when you use it through the URLConnection API)

Note that this is not entirely true when filters are used (ie the
AUthFilter will retry the request behind the runRequest'caller back)

Anselm
Received on Saturday, 24 May 1997 07:53:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT