Redirect.redirect.is: def of ezhttp@0.22.0.0 Import: import ezhttp@0.22.0.0/src/redirect.bend as Redirect Lines 27-31 of ezhttp@0.22.0.0/src/redirect.bend: https://jend.leeeet.dev/read.txt?path=ezhttp@0.22.0.0/src/redirect.bend&start_line=27&end_line=31 import Base # whether a status asks the client to go elsewhere (RFC 9110 ยง15.4.2-9) def redirect.is(+status: U32) -> Bool: Bool.or(U32.is_eq(status, 301), Bool.or(U32.is_eq(status, 302), Bool.or(U32.is_eq(status, 303), Bool.or(U32.is_eq(status, 307), U32.is_eq(status, 308))))) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq