Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ host-origin.e2e.test.ts
File
host-origin.e2e.test.ts
packages/server/test/host-origin.e2e.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Host / Origin checks wired into HTTP + WS (ROADMAP M4.3).
3
*
4
* HTTP: the global `onRequest` Host hook rejects `Host: evil.com` with 403
Callers
nothing calls this directly
Calls
7
spawn
Function · 0.70
rawHttpGet
Function · 0.70
expectRejected
Function · 0.70
wsUrl
Function · 0.70
openConn
Function · 0.70
receiveType
Function · 0.70
close
Method · 0.65
Tested by
no test coverage detected