+ - `headers` *(Object)*: HTTP headers as simple key-value pairs, where the value is either a String or function evaluated when mappings are calculated. Does _not_ support the [`Headers`](https://developer.mozilla.org/en-US/docs/Web/API/Headers) object format. The headers will be merged with the default ones. _After the merge_, any header with a falsy value will be discarded; for example, to remove the `Accept` header, set it to `false`. Defaults to `Accept` and `Content-Type` set to `application/json`.
0 commit comments