Daniele Teti
8503c77b41
Added HigherOrder.Map<T1,T2> with some overloads
TOC Generator / TOC Generator (push) Waiting to run
2024-11-03 17:21:58 +01:00
Daniele Teti
4b8b89d4da
MVCFramework.Functional.pas has been merged in MVCFramework.Utils.pas
2024-09-19 19:15:57 +02:00
Daniele Teti
90dcd3bdfe
Copyright updated to 2010-2024
2024-01-02 17:04:27 +01:00
Daniele Teti
fc9fffb9e7
Updated copyright message, removing some warnings
2023-01-17 08:52:26 +01:00
Daniele Teti
f54f74522c
- Default error responses contains the official "reason string" associated to the HTTP status code (this can be a breaking change for some generic client which doesn't correctly interpret the http status code)
...
- Added static method `HTTP_STATUS.ReasonStringFor(HTTPStatusCode)` wich returns the standard `ReasonString` for a given HTTP status code.
- Improved handling of `TMVCErrorResponse` information
- mid-air-collision handling now uses SHA1 instead of MD5
- Added `MVCFramework.Commons.MVC_HTTP_STATUS_CODES` const array containing all the HTTP status codes wich its `ReasonString`
2022-10-09 15:45:59 +02:00
Daniele Teti
0f3bae84b9
Automated support to avoid "mid-air collisions". New methods SetETag
and CheckIfMatch
allows a better security without adding complexity to the controller code - check avoid_mid_air_collisions_sample.dproj
sample and see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag#avoiding_mid-air_collisions for more info about mid-air collisions.
2022-08-18 01:45:49 +02:00
Daniele Teti
f79f4722d9
Improved enum and set parameters handling in JSONRPC API
2022-08-10 17:57:59 +02:00
Daniele Teti
a8ce1bb25b
+ Updated copyright for 2022
2022-01-04 15:44:47 +01:00
Daniele Teti
27223a0a93
+added unit MVCFramework.Utils.pas which will contains all the 'simple functions' used in end user controllers
2021-09-15 14:24:39 +02:00