Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Comment: | TSQLRestClientURI.CallBackPut() will now return any HTTP response content (even if it is not HTTP/1.1 compliant, and not work over some networks) |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9dcb4681ced14b7efcf6a4ffeb36945e |
User & Date: | User 2012-04-08 08:13:57 |
2012-04-10
| ||
09:26 | added quick steps to ReadMe.txt check-in: 20f4d3d894 user: G018869 tags: trunk | |
2012-04-08
| ||
08:13 | TSQLRestClientURI.CallBackPut() will now return any HTTP response content (even if it is not HTTP/1.1 compliant, and not work over some networks) check-in: 9dcb4681ce user: User tags: trunk | |
08:08 | added ReadMe.txt file check-in: 9dd5cece32 user: User tags: trunk | |
Changes to SQLite3/SQLite3Commons.pas.
549
550
551
552
553
554
555
556
557
558
559
560
561
562
.....
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
|
- new TSQLRest.MainFieldIDs() method - now TSQLRestClientURI.BatchUpdate() will set only ID, TModTime and mapped fields when called over a TSQLRecord on which a FillPrepare() was made (and no FillClose was performed) - now TSQLRestServerStats is a plain TPersistent class, and will be sent as a JSON object to the client - added function IsNotAjaxJSON() function - formerly internal IsExpanded() - circumvent some bugs of Delphi XE2 background compiler (main compiler is OK) String usage in the Synopse SQLite3 database framework: - RawUTF8 is used for every internal data usage, since both SQLite3 and JSON do expect UTF-8 encoding - WinAnsiString where WinAnsi-encoded AnsiString (code page 1252) are needed ................................................................................ begin if self=nil then result := 504 else begin {$ifdef WITHLOG} SQLite3Log.Enter(self,pointer(aMethodName)); {$endif} result := URI(Model.getURICallBack(aMethodName,aTable,aID), 'PUT',nil,aResponseHead,@aSentData).Lo; {$ifdef WITHLOG} SQLite3Log.Add.Log(sllServiceReturn,'result=%',result); {$endif} end; end; function TSQLRestClientURI.ServiceRegister(const aInterfaces: array of PTypeInfo; |
>
>
|
|
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
.....
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
|
- new TSQLRest.MainFieldIDs() method - now TSQLRestClientURI.BatchUpdate() will set only ID, TModTime and mapped fields when called over a TSQLRecord on which a FillPrepare() was made (and no FillClose was performed) - now TSQLRestServerStats is a plain TPersistent class, and will be sent as a JSON object to the client - added function IsNotAjaxJSON() function - formerly internal IsExpanded() - TSQLRestClientURI.CallBackPut() will now return any HTTP response content (even if it is not HTTP/1.1 compliant, and not work over some networks) - circumvent some bugs of Delphi XE2 background compiler (main compiler is OK) String usage in the Synopse SQLite3 database framework: - RawUTF8 is used for every internal data usage, since both SQLite3 and JSON do expect UTF-8 encoding - WinAnsiString where WinAnsi-encoded AnsiString (code page 1252) are needed ................................................................................ begin if self=nil then result := 504 else begin {$ifdef WITHLOG} SQLite3Log.Enter(self,pointer(aMethodName)); {$endif} result := URI(Model.getURICallBack(aMethodName,aTable,aID), 'PUT',@aResponse,aResponseHead,@aSentData).Lo; {$ifdef WITHLOG} SQLite3Log.Add.Log(sllServiceReturn,'result=%',result); {$endif} end; end; function TSQLRestClientURI.ServiceRegister(const aInterfaces: array of PTypeInfo; |