Http.cookie.expiry: def of bend-kit-http@0.38.4.0 Import: import bend-kit-http@0.38.4.0/http.bend as Http Lines 2304-2306 of bend-kit-http@0.38.4.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.4.0/http.bend&start_line=2304&end_line=2306 import Base import bend-kit-time@0.3.0.0/time.bend as Time # Max-Age wins over Expires, whatever their order (ยง5.7 step 6). Both count from now. def cookie.expiry(+now: Time.Instant, m: Maybe<&2, U32>, e: Maybe<&2, Time.Instant>) -> Maybe<&2, Time.Instant>: Maybe.or(&2, Time.Instant, cookie.max_age.at(now, m), cookie.expires.cap(now, e)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=cookie.expires.cap https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.4.0/http.bend&name=cookie.max_age.at https://jend.leeeet.dev/definition.txt?path=bend-kit-time@0.3.0.0/time.bend&name=Instant