def _http_check(self, response):
        if response.status != 200:
            raise NSQHttpError('http error <%s>' % response.status)
        return response.data
dataset/ETHPy150Open wtolson/gnsq/gnsq/httpclient.py/HTTPClient._http_check/original