append .pdf suffix when sending response
Merge pull request #1 from Ciki/master

append .pdf suffix when sending response