cloudscraper icon indicating copy to clipboard operation
cloudscraper copied to clipboard

Fixing 200 HTTP response with empty body

Open Yooooomi opened this issue 4 years ago • 0 comments

I just encountered a case where cloudflare were returning 200 OK, but the code was still throwing an error. Fixed that by checking the length of the body and also the response status code.

Yooooomi avatar Apr 06 '20 21:04 Yooooomi