(response: SecureFetchResponse)
| 113 | } |
| 114 | |
| 115 | function joinSetCookies(response: SecureFetchResponse): string { |
| 116 | return response.headers |
| 117 | .getSetCookie() |
| 118 | .map((c) => c.split(';')[0]?.trim()) |
| 119 | .filter(Boolean) |
| 120 | .join('; ') |
| 121 | } |
| 122 | |
| 123 | function buildAuthHeader(req: ProxyRequest, accessToken: string | null): string { |
| 124 | if (req.authType === 'basic') { |
no test coverage detected