Henk vd Brink
|
04d08683f7
|
@lion/ajax: only add XSRF token on mutable requests and on same origin or whitelisted origins
|
2024-02-29 15:05:58 +01:00 |
|
Pascal Schilp
|
0952647d95
|
fix: make fetchjson returntype generic (#2082)
|
2023-09-26 08:53:07 +02:00 |
|
thepassle
|
570f834b85
|
chore: fix types
|
2023-09-14 09:08:23 +02:00 |
|
Joren Broekema
|
9cdac8e947
|
fix: clone response when reading the response for error (#2049)
|
2023-08-01 10:45:27 +02:00 |
|
Joren Broekema
|
7a875ef1b4
|
feat: parsing body for failed ajax responses (#2039)
|
2023-07-18 13:44:22 +02:00 |
|
thepassle
|
08b109b2a1
|
fix: avoid JSON.parsing empty responses
|
2023-07-06 11:38:27 +02:00 |
|
Joren Broekema
|
63bb012e36
|
fix(ajax): fetchJSON to attempt parse JSON when missing content-type header
Co-authored-by: Nikhil Hundare <nikhil.hundare@gmail.com>
|
2023-02-28 14:04:37 +01:00 |
|
thepassle
|
7c2a8c3bb6
|
fix: relax content type restriction of json response
|
2022-11-09 09:01:41 +01:00 |
|
Thomas Allmer
|
c1982965c3
|
feat: introduce wireit and ts use node16 resolution
|
2022-11-07 11:39:40 +01:00 |
|
Lars den Bakker
|
66abd3ea4c
|
fix(ajax): don't throw on non-JSON responses in fetchJson
|
2022-09-14 23:45:12 +02:00 |
|
Lars den Bakker
|
362ee0e2e9
|
fix(ajax): align intercepted and non-intercepted response behavior
|
2022-05-31 13:46:54 +02:00 |
|
Martin Pool
|
447383bd14
|
feat(ajax): add maxCacheSize option
|
2022-05-30 12:58:18 +02:00 |
|
Martin Pool
|
56af96f1da
|
feat(ajax): add an option to initialize the cache interceptors even when useCache is turned off in the global options
|
2022-05-09 10:09:43 +02:00 |
|
Ahmet Yesil
|
879598506a
|
Race condition fix for on the fly requests, improve cache implementation and tests
Co-authored-by: Goffert van Gool <ruphin@ruphin.net>
Co-authored-by: Martin Pool <martin.pool@ing.com>
|
2021-09-21 13:59:08 +02:00 |
|
Goffert van Gool
|
73d4e222f6
|
Update public API of ajax & refactor package (#1371)
feat(ajax): align / break public API
Co-authored-by: Ahmet Yesil <yesil.ahmet@ing.com>
|
2021-05-12 15:21:18 +02:00 |
|