The aforementioned program has been working great until recently when I have discovered that the Content-Type header is being set to text/html for JSON data. As such, cURL requests are returning blank results.
Is anybody else aware of this issue? The following requests demonstrate the problem.
This curl request shows the incorrect Content-Type heading.
curl -i https://git.io/vbAWM
This curl request shows the result, however a different Content-Type header is set.
curl -i https://gist.githubusercontent.com/anonymous/fa0aa63cba66417e2ccbfd75dff29173/raw/5e5d6d3b2d467a8084e6c253c37b3745bf2380cb/test.json