title: Indy sends params with GET after POST redirect
body: <p>Using Delphi XE5 + Indy 10. </p>
  
  <p>I am sending POST with login and password to log in. Site responds with redirect (302) to target page. In browser, redirect is handled by GET and everything goes right, but Indy continues with POST. </p>
  
  <p>I solve this by using this code inside my OnRedirect handler:</p>
  
  <pre><code>procedure TForm1.MyRedirect(Sender: TObject;
                              var dest: string;
                              var NumRedirect: Integer;
                              var Handled: Boolean;
                              var VMethod: string);
  var
    TempHttp: TIdHttp;
  begin
    TempHttp := (Sender as TIdHTTP);
  
    if (TempHttp.ResponseCode = 302) then
      VMethod := 'GET';
  
    Handled := true;
  end;
  </code></pre>
  
  <p>Request method is then changed to GET, but Indy still sends POST request params with GET. So I get 413 Request Entity Too Large response. </p>
  
  <p>How can I make Indy NOT send params with GET after redirect? Solution inside OnRedirect would be ideal. </p>
  
  <p>Thanks!</p>