ArtifactsResource: allow PUT and POST for uploading  a file