lwa-project / lsl

LWA Software Library
GNU General Public License v2.0
8 stars 4 forks source link

Update `Content-Length` discovery for newer Py3. #33

Closed jaycedowell closed 1 year ago

jaycedowell commented 1 year ago

This PR updates LSL to use the newer headers attribute to access the HTTP response headers from URL request. Before info() was called to retrieve a metadata object and headers were accessed from that through getheader().