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 }
func wantsFileTreePage(req *http.Request) bool { return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("d")) }
func wantsBlobInfo(req *http.Request) bool { return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("b")) }
func wantsPermanode(req *http.Request) bool { return httputil.IsGet(req) && blob.ValidRefString(req.FormValue("p")) }
func wantsFileTreePage(req *http.Request) bool { return req.Method == "GET" && blob.ValidRefString(req.FormValue("d")) }
func wantsBlobInfo(req *http.Request) bool { return req.Method == "GET" && blob.ValidRefString(req.FormValue("b")) }
func wantsPermanode(req *http.Request) bool { return req.Method == "GET" && blob.ValidRefString(req.FormValue("p")) }