def before.cut
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
30def before.cut(c: Maybe<&1, String & String>, whole: String) -> String:
31 match c:
32 case None{}:
33 whole
34 case Some{(a, b)}:
35 a
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
30def before.cut(c: Maybe<&1, String & String>, whole: String) -> String:
31 match c:
32 case None{}:
33 whole
34 case Some{(a, b)}:
35 a