From dfdfd475ce6af1a9ece351e2d1f0ca20f0f76dc0 Mon Sep 17 00:00:00 2001 From: Mateus-SF Date: Wed, 31 May 2023 09:57:21 -0300 Subject: [PATCH] bugfix-http-version --- src/RESTRequest4D.Request.Indy.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RESTRequest4D.Request.Indy.pas b/src/RESTRequest4D.Request.Indy.pas index 7786ee3..ce38842 100644 --- a/src/RESTRequest4D.Request.Indy.pas +++ b/src/RESTRequest4D.Request.Indy.pas @@ -595,6 +595,7 @@ constructor TRequestIndy.Create; Self.ContentType('application/json'); FRetries := 0; FIdMultiPartFormDataStream := TIdMultiPartFormDataStream.Create; + FIdHTTP.HTTPOptions:= [hoKeepOrigProtocol]; end; destructor TRequestIndy.Destroy;