Added HTTP codes support in responce