ConstInternal
Renamed to createTiltifyFetchAdapter in 0.4.3 —
the adapter now also injects the Origin header and normalizes the
filter shape (both required by Tiltify's post-migration host). This
re-export is kept temporarily so any downstream code referring to the
old name during the 0.4.x cycle still resolves; remove in 0.5.0.
Wrap a base
fetchwith Tiltify's three search-host quirks (URL rewrite, Origin injection, filter-shape normalization). See the package documentation at the top of this file for the full story.The adapter only touches
POSTrequests whose URL path either ends in/multi-searchor matches the per-index search suffix; every other call (GET, admin endpoints, arbitrary POSTs, non-Tiltify hosts) passes through untouched.Exported for testability; not part of the public barrel.