Closed tannewt closed 3 years ago
@jedgarpark This should fix your demo. You can try this version of adafruit_requests.py to see.
It works! Thanks @tannewt
Other than the 2 spaces in
Transfer-Encoding: chunked
, which is more of a nitpick since it's just a test, it looks good to me. I didn't test.
I'm not sure what you mean by this. The test is exactly for the 2 spaces. That's what the ESPN server is giving us and is being fixed.
Oh, then no worries. :)
Also, I was helping John and have tested now.
The response to http://site.api.espn.com/apis/site/v2/sports/basketball/mens-college-basketball/scoreboard has an extra space between Transfer-Encoding: and chunked so the comparison fails.
Fixes #64