slumber 0.5.1 returns empty string on successful POST
After successful POST slumber 0.5.1 (most recent in pypi) returns empty string instead of dict representation of newly created object.
This is a regression from 0.4.2
http://stackoverflow.com/questions/13777823/slumber-returns-empty-string-instead-of-object-data/
bump. This breaks packages built on top (such as tastypie-queryset-client) and is related to #50.
I propose this as desired behavior: if the response has a body with a content-type slumber can deserialize, parse and return it, else if there is a location header, return it, otherwise return None.
That behavior sounds sane to me.
Bump. This is still present in 0.6.0 and breaks packages built on top. Behavior proposed by merwok sounds OK.
I’m available to review a patch/PR.
Any news :-))) ?
Patch welcome!