def status
import cswap-bend-cli@0.1.0.0/http.bend as Httpimport Base
114# The HTTP status `config` asked curl to append as the last line; 0 when absent.
115def status(raw: String) -> U32:
116 Maybe.default(&2, U32, U32.read(String.trim(last_line.pick(List.last(&2, String, String.lines(raw))))), 0)