MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / isWriteMethod

Function isWriteMethod

internal/server/server.go:3174–3180  ·  view source on GitHub ↗
(m string)

Source from the content-addressed store, hash-verified

3172}
3173
3174func isWriteMethod(m string) bool {
3175 switch m {
3176 case http.MethodGet, http.MethodHead, http.MethodOptions:
3177 return false
3178 }
3179 return true
3180}
3181
3182// nulRefusalReason classifies the store's NUL refusal and returns the sentence
3183// a caller should be given.

Callers 1

writeStoreErrorBusyAsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected