> On 06 Dec 2014, at 16:08, Alexander Shorin <[email protected]> wrote: > > This isn't valid JSON object, but Python dict representation. Try to > json.dumps it before send. Also content_type should be string, not > None.
Oh, the missing content-type was actually a problem oO. Thanks a lot! > On 06 Dec 2014, at 16:08, Alexander Shorin <[email protected]> wrote: > P.S. and why to have two similar id fields? I didn’t wrote this peace of code so I don’t know the actual intention of this hack. I guess it’s some convenience foo.
