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

Function headers

apps/sim/lib/core/utils/stream-limits.test.ts:33–37  ·  view source on GitHub ↗
(contentLength?: string)

Source from the content-addressed store, hash-verified

31}
32
33function headers(contentLength?: string): Headers {
34 const headers = new Headers()
35 if (contentLength !== undefined) headers.set('content-length', contentLength)
36 return headers
37}
38
39describe('stream limits', () => {
40 it('reads a stream under the limit', async () => {

Callers 6

getSessionImplFunction · 0.50
prefetchInternalJsonFunction · 0.50
prefetchSubscriptionDataFunction · 0.50
route.tsFile · 0.50

Calls 1

setMethod · 0.65

Tested by

no test coverage detected