def redirect.code

bend-kit-http@0.38.2.0 · http.bend:1759

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

1759def redirect.code(+s: U32) -> Bool:
1760  Bool.or(Bool.or(U32.is_eq(s, 301), U32.is_eq(s, 302)), Bool.or(U32.is_eq(s, 303), Bool.or(U32.is_eq(s, 307), U32.is_eq(s, 308))))

Uses (4)

Used by (2)