def phase.body
import bend-kit-http@0.38.5.0/http.bend as Httpimport Base
import bend-kit-time@0.3.0.0/time.bend as Time
6022# Buffered pipelined headers have already ended before upload callbacks run.
6023def phase.body(previous: Maybe<&2, Phase>, settings: Limits, now: Time.Duration) -> Phase:
6024 match previous:
6025 case Some{phase}:
6026 phase
6027 case None{}:
6028 Limits{max, cap, hm, bm, im, wm} = settings
6029 phase.new(2, bm, now)