Fix HTTP error

Hi, this fixes error `curl: (18) transfer closed with 40 bytes remaining to read`