Format header urls the same as post urls

Fixes #68