Hello,
when a httpserver first responds with usally HTTP/1.1 200 OK,
the httpclient throws an exception
Invalid HTTP Request Mode (GET/OUT/HEAD/POST/DELETE/OPTIONS/PATCH/TRACE/MERGE/HTTP header expected, got HTTP
(in ReadHttpMethodName via TryDispatch)
Hello,
can you provide a small test case/sample please?
Thanks
pure http is hard to find these days…
and i cannot upload at the moment 
so i’ll post the source
namespace Unbenannt;
interface
type
Program = assembly static class
public
class method Main(args:array of String);
end;
implementation
uses
RemObjects.InternetPack.Http;
[STAThread]
class method Program.Main(args:array of String);
var httpClient1: RemObjects.InternetPack.Http.HttpClient;
lRequest: HttpClientRequest := new HttpClientRequest();
lResponse: HttpClientResponse;
begin
httpClient1 := new RemObjects.InternetPack.Http.HttpClient();
//lRequest.Url:=RemObjects.Elements.RTL.Url.UrlWithString('http://andreasflucke.privatedns.org:80/index_eng.html');
lRequest.Url:=RemObjects.Elements.RTL.Url.UrlWithString('http://httpforever.com:80/');
lResponse:= httpClient1.Dispatch(lRequest);
end;
end.