mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 01:09:25 +02:00
* Position stream on start
This commit is contained in:
parent
2f82a084e8
commit
8360b18097
@ -349,6 +349,8 @@ begin
|
|||||||
LogRequest(AMethod,AURL,ARequest);
|
LogRequest(AMethod,AURL,ARequest);
|
||||||
try
|
try
|
||||||
Result:=DoHTTPMethod(AMethod,AURL,ARequest);
|
Result:=DoHTTPMethod(AMethod,AURL,ARequest);
|
||||||
|
if Assigned(Result) and Assigned(Result.FStream) then
|
||||||
|
Result.FStream.Position:=0;
|
||||||
except
|
except
|
||||||
if (P=PMin) then
|
if (P=PMin) then
|
||||||
Raise;
|
Raise;
|
||||||
|
Loading…
Reference in New Issue
Block a user