1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-05 10:20:45 +00:00

More robust checking of HTTP success codes

This commit is contained in:
jeremy@jermolene.com 2023-01-05 17:11:07 +00:00
parent e3773ded23
commit 923b8bf99a

View File

@ -9,7 +9,7 @@ tags: $:/tags/GeospatialDemo
<$action-setfield $tiddler="$:/temp/_Error" text=<<error>>/>
<$action-setfield $tiddler="$:/temp/_Result" text=<<data>>/>
<$action-setfield $tiddler="$:/temp/_Headers" text=<<headers>>/>
<$list filter="[<status>match[200]]" variable="ignore">
<$list filter="[<status>compare:number:gteq[200]compare:number:lteq[299]]" variable="ignore">
<$action-setfield $tiddler="$:/temp/_IsochroneLayer" text={{{ [<data>] }}} tags="$:/tags/GeoLayer"/>
</$list>
\end