The point of these `if`s is to return `""` if the appropriate header is present but empty, and to return `null` if the header is not there at all.