eb3c8b0ebc
This is a bit of a fudge, and was only tested against the Cheerlights API. Detects JSON content type, parses out the content length and truncates the response body to length. Should probably do this *before* decoding from utf-8. Updates cheerlights.py API example to support XML, JSON and TEXT endpoints. |
||
---|---|---|
.. | ||
cheerlights.py | ||
plasma_ws2812_http.py | ||
ppwhttp.py | ||
rgb_http.py | ||
secrets.py |