raising instead of warning, this way, we don't overwrite a good version with an empty file
response 302 is now also fit for redirect