missing phpdoc param
prepare all responses rather than just the file download response