This repository was archived by the owner on Aug 30, 2024. It is now read-only.
Added support for adding custom headers. All functions now have the keyword param headers so that one can pass customer headers as a dictionary, e.g.
data = open('your_image.png', 'rb').read()
q.put('apps/<GUID>/media/files/your_image.png',
data, headers={"Content-Type": "image/png"})