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