mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-12 02:10:27 +00:00
More robust checking of HTTP success codes
This commit is contained in:
parent
e78f0f8bd0
commit
27f9df3af5
@ -9,7 +9,7 @@ tags: $:/tags/GeospatialDemo
|
|||||||
<$action-setfield $tiddler="$:/temp/_Error" text=<<error>>/>
|
<$action-setfield $tiddler="$:/temp/_Error" text=<<error>>/>
|
||||||
<$action-setfield $tiddler="$:/temp/_Result" text=<<data>>/>
|
<$action-setfield $tiddler="$:/temp/_Result" text=<<data>>/>
|
||||||
<$action-setfield $tiddler="$:/temp/_Headers" text=<<headers>>/>
|
<$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"/>
|
<$action-setfield $tiddler="$:/temp/_IsochroneLayer" text={{{ [<data>] }}} tags="$:/tags/GeoLayer"/>
|
||||||
</$list>
|
</$list>
|
||||||
\end
|
\end
|
||||||
|
Loading…
Reference in New Issue
Block a user