check headers

Сheck the headers in the request

Assign `makePair()` to a var.