Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MemTensor/MemOS
/ writeMethodNotAllowed
Function
writeMethodNotAllowed
apps/memos-local-plugin/server/middleware/io.ts:58–62 ·
view source on GitHub ↗
(res: ServerResponse, method: string)
Source
from the content-addressed store, hash-verified
56
}
57
58
export
function
writeMethodNotAllowed(res: ServerResponse, method: string): void {
59
writeJson(res, 405, {
60
error: { code:
"method_not_allowed"
, message: `${method} not allowed here` },
61
});
62
}
Callers
1
dispatch
Function · 0.85
Calls
1
writeJson
Function · 0.85
Tested by
no test coverage detected