So I'm trying i.record_count("events") and I'm getting this error back:
AttributeError: 'HTTPMessage' object has no attribute 'headers'
The issue is line 632 in insightly.py:
return result.info().headers
which according to this post is deprecated in Python 3:
Python 3 Note First, there is nothing like response.info().headers, do a dict(response.info())
However, that doesn't work and despite Googling around, I can't find an alternative formulation that does...
So I'm trying
i.record_count("events")and I'm getting this error back:AttributeError: 'HTTPMessage' object has no attribute 'headers'The issue is line 632 in insightly.py:
return result.info().headerswhich according to this post is deprecated in Python 3:
However, that doesn't work and despite Googling around, I can't find an alternative formulation that does...