Additionally there is typo in header name here and below, there is `referrer` header, not `referer`.