title: ASIHTTPRequest Redirect
body: <p>I am using ASIHTTPRequest in my app to handle Google login in my app.</p>
  
  <p>in one of my requests i get Redirect and this is what i do:</p>
  
  <pre><code>- (void)request:(ASIHTTPRequest *)request willRedirectToURL:(NSURL *)newURL{
      ASIHTTPRequest *redirect = [[ASIHTTPRequest alloc] initWithURL:newURL];
      [redirect setTimeOutSeconds:30];
      [redirect setValidatesSecureCertificate:NO];
      [redirect setDelegate:self]; 
      [redirect startAsynchronous];
  
      NSLog(@"Redirect - %@",url);
  }
  </code></pre>
  
  <p>And when i make this request non of the ASIHTTPRequest delegate methods not called, the is the url that i make the redirect:</p>
  
  <pre><code>https://accounts.google.com/Logout2?service=sj&amp;amp;ilo=1&amp;amp;ils=s.IL&amp;amp;ilc=0&amp;amp;continue=http%3A%2F%2Fmusic.google.com%2Fmusic%2Flisten&amp;amp;zx=-834167044
  </code></pre>
  
  <p>Any idea why it happen?</p>
  
  <h1>Edit</h1>
  
  <p>The newURL is equal to :</p>
  
  <pre><code>https://accounts.google.com/Logout2?service=sj&amp;amp;ilo=1&amp;amp;ils=s.IL&amp;amp;ilc=0&amp;amp;continue=http%3A%2F%2Fmusic.google.com%2Fmusic%2Flisten&amp;amp;zx=835989037
  </code></pre>
  
  <p>but when i try to get the html i get the the redirect url is :</p>
  
  <pre><code>https://accounts.google.com/Logout2?service=sj&amp;amp;amp;ilo=1&amp;amp;amp;ils=s.IL&amp;amp;amp;ilc=0&amp;amp;amp;continue=http%3A%2F%2Fmusic.google.com%2Fmusic%2Flisten&amp;amp;amp;zx=835989037
  </code></pre>
  
  <p>And there is diffrent between the two.any idea why?</p>