datacenter / cobra

Cobra - Python bindings for the ACI REST API
Other
89 stars 41 forks source link

Remove leading spaces from the header while sending a cobra request #131

Closed sapshah-cisco closed 7 years ago

sapshah-cisco commented 7 years ago

If the user is trying to authenticate using CertSession, python requests library version > 2.9.1 will throw an exception due to changes in the requests library header requirements. This commit will make cobra compatible with the latest versions of requests.py

sapshah-cisco commented 7 years ago

@sganapathy85 Can you please take a look at the change.