Update sharing.py

Diazo add unwanted html header into json response
Merge pull request #1 from travacic/patch-1

Good job