MCPcopy Index your code
hub / github.com/perkeep/perkeep / wantsUploadHelper

Function wantsUploadHelper

pkg/server/ui.go:403–405  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

401}
402
403func wantsUploadHelper(req *http.Request) bool {
404 return req.Method == "POST" && camliMode(req) == "uploadhelper"
405}
406
407func wantsPermanode(req *http.Request) bool {
408 return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p"))

Callers 1

ServeHTTPMethod · 0.85

Calls 1

camliModeFunction · 0.85

Tested by

no test coverage detected