Fix fetching log in firefox when Location header is unavailable