def accept.enc

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

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

3952# A caller's own Accept-Encoding wins; enc is the codings fetch can undo.
3953def accept.enc(+h: Map<&2, List<&2, String>>, +enc: String) -> Map<&2, List<&2, String>>:
3954  Bool.pick(Map<&2, List<&2, String>>, has_header(h, "accept-encoding"), h, set(h, "accept-encoding", enc))

Uses (6)

Used by (3)