|
@@ -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;
|