fixed response contant processing for compartibility with older versions of requests package