<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How the HTTP Error Code 302, should work 
with {autoredirect,true} in erlang http:request .... ???</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have expected to reach the final destination 
with {autoredirect,true}. But it stops in a half way with empty result when HTTP 
Error Code 302 comes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sanjaya Vitharana</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[wavenet1@IVR1 wavenet1]$  links -source "<A 
href="http://localhost/cf/ivr_test.php?cli=114526000|2421996,N/A&ch=6&serverid=1">http://localhost/cf/ivr_test.php?cli=114526000|2421996,N/A&ch=6&serverid=1</A>"<BR></FONT><FONT 
face=Arial size=2><?xml version="1.0" encoding="ISO-8859-1" ?><BR><IVR 
auth="111"><BR><accept></accept><BR><key 
no="a">http://203.115.0.73/cf/sc1/_menu/answer.php</key><BR><session>a1163751629114526000</session><BR></IVR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>1> URL="<A 
href="http://localhost/cf/ivr_test.php?cli=114526000|2421996,N/A&ch=6&serverid=1">http://localhost/cf/ivr_test.php?cli=114526000|2421996,N/A&ch=6&serverid=1</A>".             
<BR>"<A 
href="http://localhost/cf/ivr_test.php?cli=114526000|2421996,N/A&ch=6&serverid=1">http://localhost/cf/ivr_test.php?cli=114526000|2421996,N/A&ch=6&serverid=1</A>"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>18> http:request(get, {URL, []}, [{timeout, 
10000},{autoredirect,true}],[]).<BR>{ok,{{"HTTP/1.1",302,"Found"},<BR>     
[{"cache-control",<BR>       "no-store, no-cache, 
must-revalidate, post-check=0, pre-check=0"},<BR>      
{"connection","Keep-Alive"},<BR>      {"date","Fri, 17 
Nov 2006 08:44:25 GMT"},<BR>      
{"pragma","no-cache"},<BR>      
{"location",<BR>       "<A 
href="http://203.115.0.73/cf/sc1/_menu/index.php?cli=114526000&session=a1163753065114526000&serverid=1">http://203.115.0.73/cf/sc1/_menu/index.php?cli=114526000&session=a1163753065114526000&serverid=1</A>"},<BR>      
{"server","Apache/2.0.54 (Unix) PHP/5.0.3"},<BR>      
{"content-length","0"},<BR>      
{"content-type","text/html"},<BR>      {"expires","Thu, 
19 Nov 1981 08:52:00 GMT"},<BR>      
{"x-powered-by","PHP/5.0.3"},<BR>      
{"set-cookie","PHPSESSID=a1163753065114526000; 
path=/"},<BR>      {"keep-alive","timeout=15, 
max=100"}],<BR>     []}}<BR>19> 
</FONT></DIV></BODY></HTML>