Resolve HTTP headers error