Check the parameters, e.g. file ends in .pdf Have a default for the filename Have defaults (from the environment?) for the url, authorId