SpectraLogic / ds3_python_sdk

Apache License 2.0
8 stars 7 forks source link

PYTHONSDK-86: networking bug fix so all requests with payloads send their payloads #120

Closed RachelTucker closed 6 years ago

RachelTucker commented 6 years ago

There was a bug where only requests of type PUT or POST attached request payloads. This updates the if-statement which determines whether or not to add a request body to check if the request handler has content to send, rather then inferring incorrectly from http type.