`getFetchOptions` is used by `fetch` on line 1330. That is the only place it is intended to be used.