anchor.diff:  implementation
   
   uses
  -  {.$IFDEF FPC}
  +  {$IFDEF FPC}
     IdCustomHTTPServer, IdGlobal, IdURI, IdGlobalProtocols,
  -  {.$ENDIF}
  +  {$ENDIF}
     BindingFramework;
   
   { TFormPage }
  
positive.code:   Response.CharSet := 'utf-8';
  end;
  
  {.$IFDEF FPC}
  // based on https://stackoverflow.com/questions/24861793
  // using Indy IdCustomHTTPServer rev 5498
  procedure MyDecodeAndSetParams(ARequestInfo: TIdHTTPRequestInfo);
  
negative.code:     ARequestInfo.Params.EndUpdate;
    end;
  end;
  {$ENDIF}
  
  procedure TFormPage.OnPost(Request: TdjRequest;
    Response: TdjResponse);
  