MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / ValidateBasic

Method ValidateBasic

client/utils/rest.go:176–192  ·  view source on GitHub ↗

ValidateBasic performs basic validation of a BaseReq. If custom validation logic is needed, the implementing request handler should perform those checks manually.

(w http.ResponseWriter)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

WriteErrorResponseFunction · 0.85

Tested by

no test coverage detected