MCPcopy Index your code
hub / github.com/simstudioai/sim / joinSetCookies

Function joinSetCookies

apps/sim/app/api/tools/sap_s4hana/proxy/route.ts:115–121  ·  view source on GitHub ↗
(response: SecureFetchResponse)

Source from the content-addressed store, hash-verified

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

Callers 1

fetchCsrfFunction · 0.85

Calls 2

joinMethod · 0.80
getSetCookieMethod · 0.80

Tested by

no test coverage detected