Constitute correct URLs from headers.