Populate metadata before detecting redirects.
Merge pull request #43 from AndrewKvalheim/detect-redirects

Populate metadata before detecting redirects.