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