Browse Source

whitespace cleanup

Ondrej Pokorny 5 months ago
parent
commit
e2c9661234
1 changed files with 6 additions and 6 deletions
  1. 6 6
      packages/fcl-web/src/base/fphttpserver.pp

+ 6 - 6
packages/fcl-web/src/base/fphttpserver.pp

@@ -945,7 +945,7 @@ begin
         Delete(FBuffer,1,1);
         Delete(FBuffer,1,1);
         Done:=True;
         Done:=True;
         end;
         end;
-      CheckLF:=False;  
+      CheckLF:=False;
       end;
       end;
     if not Done then
     if not Done then
       begin
       begin
@@ -1053,9 +1053,9 @@ procedure TFPHTTPConnection.ParseStartLine(Request : TFPHTTPConnectionRequest;
 Var
 Var
   S : String;
   S : String;
   I : Integer;
   I : Integer;
-  
+
 begin
 begin
-  if aStartLine='' then 
+  if aStartLine='' then
     exit;
     exit;
   Request.Method:=GetNextWord(AStartLine);
   Request.Method:=GetNextWord(AStartLine);
   Request.URL:=GetNextWord(AStartLine);
   Request.URL:=GetNextWord(AStartLine);
@@ -1065,7 +1065,7 @@ begin
     S:=Copy(S,1,I-1);
     S:=Copy(S,1,I-1);
   If (Length(S)>1) and (S[1]<>'/') then
   If (Length(S)>1) and (S[1]<>'/') then
     S:='/'+S
     S:='/'+S
-  else if S='/' then 
+  else if S='/' then
     S:='';
     S:='';
   Request.PathInfo:=S;
   Request.PathInfo:=S;
   S:=GetNextWord(AStartLine);
   S:=GetNextWord(AStartLine);
@@ -1114,7 +1114,7 @@ begin
         P:=P+R;
         P:=P+R;
         L:=L-R;
         L:=L-R;
         end;
         end;
-      end;  
+      end;
     end;
     end;
   ARequest.ContentBytes:=S;
   ARequest.ContentBytes:=S;
 end;
 end;
@@ -1182,7 +1182,7 @@ begin
   if Assigned(FServer) then
   if Assigned(FServer) then
     Result:=FServer.LookupHostNames
     Result:=FServer.LookupHostNames
   else
   else
-    Result:=False;  
+    Result:=False;
 end;
 end;
 
 
 procedure TFPHTTPConnection.AllocateConnectionID;
 procedure TFPHTTPConnection.AllocateConnectionID;