dstufft/slumber — pull request #39 by msabramo (2012-08-15 00:57:28+00:00)
Title: Make put method return response body (not just True) for status_code != 204

I ran into this returning only `True` for an internal API that uses the HTTP PUT method.

Without this change:

```python
In [36]: public_api.ecommerce.shipping.put(data=dict(cart_id='AAA', cart_hash='BBB', method_id='CCC'))
Out[36]: True
```

With the change:

```python
In [37]: public_api.ecommerce.shipping.put(data=dict(cart_id='AAA', cart_hash='BBB', method_id='CCC'))
Out[37]: '{"subtotal":0,"discount":0,"netsubtotal":0,"shipping":0,"tax":0,"account_balance":0,"total":0,"cart_hash":"BBB","cart_id":'AAA'}'
```