fix: missing headers in foreign
This commit is contained in:
parent
7c745f6fd7
commit
b59de0f5b5
@ -24,7 +24,7 @@ export const _failure = r => () => r.failure()
|
|||||||
/**
|
/**
|
||||||
* @type {(_1: HTTPRequest) => () => Array<{k: string, v: string}>}
|
* @type {(_1: HTTPRequest) => () => Array<{k: string, v: string}>}
|
||||||
*/
|
*/
|
||||||
export const headers = r => () => {
|
export const _headers = r => () => {
|
||||||
/** @type {Array<{k: string, v: string}>} */
|
/** @type {Array<{k: string, v: string}>} */
|
||||||
const init = []
|
const init = []
|
||||||
return Object.entries(r.headers()).reduce(
|
return Object.entries(r.headers()).reduce(
|
||||||
|
Loading…
Reference in New Issue
Block a user