thoughtnirvana/samurai-client-python — comment on commit ea139666ba3d24d6410b2936e4f030dd9928aa35
File: samurai/request.py line 18
By rahulkmr:

A conditional will be a better idea.

if data:
header['Content-Type'] = 'text/xml'