Stage uploads before accepting HTTP runs
This commit is contained in:
@@ -138,6 +138,11 @@ func validateRunID(value string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func ValidateContentType(contentType string) error {
|
||||
_, err := archiveFormat(contentType)
|
||||
return err
|
||||
}
|
||||
|
||||
type archiveKind int
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user