check headers

Сheck the headers in the request

Just a small style code style thing, another thing we need to document :)

Could you please do arguments like `( arg1, arg2 )` where the arguments are separated by a `, ` :+1: