def phase.body
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-time@0.3.0.0/time.bend as Time
6030# Buffered pipelined headers have already ended before upload callbacks run.
6031def phase.body(previous: Maybe<&2, Phase>, settings: Limits, now: Time.Duration) -> Phase:
6032 match previous:
6033 case Some{phase}:
6034 phase
6035 case None{}:
6036 Limits{max, cap, hm, bm, im, wm} = settings
6037 phase.new(2, bm, now)