Browse Source

* Fixed processing post-content of unknown content-types

git-svn-id: trunk@49387 -
joost 4 years ago
parent
commit
fd91e8263c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/fcl-web/src/base/httpdefs.pp

+ 1 - 2
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