(dbID string)
| 61 | } |
| 62 | |
| 63 | func isValidDatabaseID(dbID string) error { |
| 64 | if !dbIDRegex.MatchString(dbID) { |
| 65 | return errors.New("invalid database id") |
| 66 | } |
| 67 | |
| 68 | return nil |
| 69 | } |
| 70 | |
| 71 | func parseForm(r *http.Request) (qm *queryMap, err error) { |
| 72 | ct := r.Header.Get("Content-Type") |
no test coverage detected