fixes #1826: res.redirect('toString') fails with 500

Removed the unused map and corrected the doc comment.
Merge pull request #1829 from michaelficarra/patch-1

fixes #1826: res.redirect('toString') fails with 500
ocd