sapling/phabricator
Misha Shneerson cbdaa23f88 conduit: added correct Content-Type header for conduit queries
Summary:
conduit HTTP POST request did not have correct content-type header set.
Now they do. Ideally we should use python-request package to do HTTP
but I do not know enough how to import these dependencies so I just went
with the minimal changes.

Test Plan:
ran hg log from dev environment and eventually got it all working.
{P57411895}

Reviewers: simpkins

Reviewed By: simpkins

Subscribers: net-systems-diffs@fb.com, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D5080725

Tasks: 18294945

Signature: t1:5080725:1495052201:1bbd6edad4c1c4b3482a7479259460a815947630
2017-05-17 13:50:37 -07:00
..
__init__.py add arcconfig accessors 2016-04-27 09:27:56 -07:00
arcconfig.py phabricator: look for .arcrc in the correct location on Windows 2017-04-27 09:01:15 -07:00
conduit.py conduit: added correct Content-Type header for conduit queries 2017-05-17 13:50:37 -07:00
diffprops.py phabdiff: only match at the start of a line 2017-03-28 20:53:07 -07:00