Skip to content

Commit d041e98

Browse files
committed
[httpClient] raise fixes
1 parent bc20c35 commit d041e98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Quick.HttpClient.pas

+3-3
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ function TJsonHttpClient.Post(const aURL, aInContent : string; aHeaders : TPairL
211211
except
212212
on E : Exception do
213213
begin
214-
if e.ClassType <> EIdConnClosedGracefully then raise e;
214+
if e.ClassType <> EIdConnClosedGracefully then raise;
215215
end;
216216
end;
217217
{$ELSE}
@@ -250,7 +250,7 @@ function TJsonHttpClient.Post(const aURL : string; aInContent : TStream) : IHttp
250250
except
251251
on E : Exception do
252252
begin
253-
if e.ClassType <> EIdConnClosedGracefully then raise e;
253+
if e.ClassType <> EIdConnClosedGracefully then raise;
254254
end;
255255
end;
256256
{$ELSE}
@@ -302,7 +302,7 @@ function TJsonHttpClient.Put(const aURL, aInContent : string) : IHttpRequestResp
302302
except
303303
on E : Exception do
304304
begin
305-
if e.ClassType <> EIdConnClosedGracefully then raise e;
305+
if e.ClassType <> EIdConnClosedGracefully then raise;
306306
end;
307307
end;
308308
{$ELSE}

0 commit comments

Comments
 (0)