Bug with checking header of http request was fixed