title: Delphi & Indy httpServer how stop sending 400 bad Request
body: <p>I get data from a device that expects him back ACK (HTTP1/1 200 OK).
  My httpserver after receiving header is automatically returned 400 Bad Request (i see on WareShark).
  Perhaps the device is not properly built his request.
  How do I stop server does not return an error? So I will be able to continue communication with device.</p>
  
  <p>thanks</p>
  
  <hr>
  
  <pre><code>LOG: 192.168.1.141:57565 Stat Connected.
  
  HTTP Connect 192.168.1.141
  LOG: 192.168.1.141:57565 Recv 10.4.2017 г. 00:18:43: POST / HTTP/1.1&lt;EOL&gt;
  
  LOG: 192.168.1.141:57565 Recv 10.4.2017 г. 00:18:43: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, text/*, */*&lt;EOL&gt;Accept-Language: en-us&lt;EOL&gt;Content-Type: application/x-www-form-urlencoded&lt;EOL&gt;Accept-Encoding: gzip, deflate&lt;EOL&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)&lt;EOL&gt;Content-Length: 579&lt;EOL&gt;Connection: Keep-Alive&lt;EOL&gt;&lt;EOL&gt;&lt;?xml version="1.0"?&gt;&lt;EOL&gt;&lt;Metrics  SiteId="BG-001" Sitename="office Pazardjik"&gt;&lt;EOL&gt;&lt;Properties&gt;&lt;EOL&gt;&lt;MacAddress&gt;00:b0:9d:7f:b7:b2&lt;/MacAddress&gt;&lt;EOL&gt;&lt;IpAddress&gt;0.0.0.0&lt;/IpAddress&gt;&lt;EOL&gt;&lt;Timezone&gt;2&lt;/Timezone&gt;&lt;EOL&gt;&lt;DST&gt;1&lt;/DST&gt;&lt;EOL&gt;&lt;DeviceType&gt;0&lt;/DeviceType&gt;&lt;EOL&gt;&lt;SerialNumber&gt;8370098&lt;/SerialNumber&gt;&lt;EOL&gt;&lt;/Properties&gt;&lt;EOL&gt;&lt;ReportData  Interval="1"&gt;&lt;EOL&gt;&lt;Report  Date="2017-04-06"&gt;&lt;EOL&gt;&lt;Object  Id="0" DeviceId="BG-001-01" Devicename="Main Entrance" ObjectType="0" Name="Main Entrance"&gt;&lt;EOL&gt;&lt;Count  StartTime="05:31:00" EndTime="05:32:00" Enters="0" Exits="0" Status="0"/&gt;&lt;EOL&gt;&lt;/Object&gt;&lt;EOL&gt;&lt;/Report&gt;&lt;EOL&gt;&lt;/ReportData&gt;&lt;EOL&gt;&lt;/Metrics&gt;&lt;EOL&gt;
  
  HTTP Header 
  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, text/*, */*
  Accept-Language: en-us
  Content-Type: application/x-www-form-urlencoded
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
  Content-Length: 579
  Connection: Keep-Alive
  
  LOG: 192.168.1.141:57565 Sent 10.4.2017 г. 00:18:43: HTTP/1.1 400 Bad Request&lt;EOL&gt;Connection: close&lt;EOL&gt;Content-Length: 0&lt;EOL&gt;Date: Sun, 09 Apr 2017 21:18:43 GMT&lt;EOL&gt;&lt;EOL&gt;
  
  
  LOG: 192.168.1.141:57565 Stat Disconnected.
  LOG: 0.0.0.0:0 Stat Disconnected.
  </code></pre>