Update on pull #9

This updates the changes in #9 to check for existence of download attribute on <a> and use the existing server-post if the download attribute doesn't exist.