作者:kdevroed
项目:camlistor
func wantsPermanode(req *http.Request) bool {
if httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p")) {
// The new UI is handled by index.html.
if req.FormValue("newui") != "1" {
return true
}
}
return false
}
作者:rakyl
项目:camlistor
func wantsFileTreePage(req *http.Request) bool {
return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("d"))
}
作者:rakyl
项目:camlistor
func wantsBlobInfo(req *http.Request) bool {
return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("b"))
}
作者:rakyl
项目:camlistor
func wantsPermanode(req *http.Request) bool {
return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p"))
}
作者:newobjec
项目:camlistor
func wantsFileTreePage(req *http.Request) bool {
return req.Method == "GET" && blob.ValidRefString(req.FormValue("d"))
}
作者:newobjec
项目:camlistor
func wantsBlobInfo(req *http.Request) bool {
return req.Method == "GET" && blob.ValidRefString(req.FormValue("b"))
}
作者:newobjec
项目:camlistor
func wantsPermanode(req *http.Request) bool {
return req.Method == "GET" && blob.ValidRefString(req.FormValue("p"))
}