Returns whether HTTP redirects should occur automatically on the specified http url connection object.
Syntax
getFollowRedirects( httpurlconnection )
httpurlconnection.getFollowRedirects( )
Parameters
httpurlconnection
|
the http url connection object to check.
|
Returns
boolean
|
true if the specified http url connection object automatically does http redirects.
false if the specified http url connection object does not automatically do http redirects.
|
Example
if ucon.getFollowRedirects( ) then
break
end
|