diff --git a/packages/fcl-web/src/base/httpdefs.pp b/packages/fcl-web/src/base/httpdefs.pp index f77ca5e492..a422cd9fa2 100644 --- a/packages/fcl-web/src/base/httpdefs.pp +++ b/packages/fcl-web/src/base/httpdefs.pp @@ -2573,10 +2573,9 @@ procedure TRequest.HandleStreamingUnknownEncoding(const State: TContentStreaming var S: TStream; begin + ProcessStreamingSetContent(State, Buf, Size); if Assigned(FOnUnknownEncoding) then begin - ProcessStreamingSetContent(State, Buf, Size); - if state=cssEnd then begin try