h.request('GET', '/19292868552')
response = h.getresponse()
content_length = int(response.getheader('Content-Length', '0'))
data = ''
while len(data) < content_length or content_length == 0:
    s = response.read(content_length - len(data))
if not s:
    break
data += s
j = json.loads(data)
print(j)
How to read JSON from socket in python? (Incremental parsing of JSON)