title: IDHTTP.Post error
body: <pre><code>procedure Texport_plan.cxB_LoadClick(Sender: TObject);
  var
    HTTP: TIdHTTP;
    Query: String;
    Buffer: TMemoryStream;
    loadData: Sting;
    responseData: String; 
  begin 
    try
      HTTP := TIdHTTP.Create(nil);
      HTTP.Request.ContentEncoding := 'utf-8';
      HTTP.Request.ContentType := 'text/xml';
      Application.ProcessMessages;
  
      Query := 'http://priem.edu.ru:8000/import/ImportService.svc/import';
      loadData := '&lt;Root&gt;&lt;/Root&gt;'
  
      Buffer := TMemoryStream.Create;
      loadData.SaveToStream(Buffer);
      responseData := HTTP.Post(Query, Buffer);
    except
      on E: EIdHTTPProtocolException do
        ShowMessage(E.Message);
    end;
  end;
  </code></pre>
  
  <p>This returns HTTP/1.1 400 Bad Request. If use get from <a href="http://priem.edu.ru:8000/import/ImportService.svc/test/import" rel="nofollow">http://priem.edu.ru:8000/import/ImportService.svc/test/import</a>
  i get right xml document in response.  Why could this happen? I checked all i can find in google...but nothing helps.</p>
  
  <p>Im using RAD Delphi XE3</p>
  
  <p><strong>UPD:</strong> Test client works fine...C# + webclient class. May be something more exists for delphi...not only IdHTTP?</p>