Closed chrismytton closed 8 years ago
I’ve used the canonical https://github.com/everypolitician/everypolitician-data/raw/master/countries.json form of raw url which will redirect to https://raw.githubusercontent.com/everypolitician/everypolitician-data/master/countries.json.
This is a slightly backwards incompatible change because the previous rawgit url returned a 200 whereas this one will return a 302. I think this should be fine, but am happy to be persuaded otherwise.
@chrismytton we should either merge this or discard it. I'm not sure I understand the issues well enough to decide which…
RawGit hasn't gone down since I opened this, AFAIK. It's also a breaking change for existing webhook consumers who might be expecting the url to have the correct content type. So closing for now, we can revisit this later if it turns out to be needed.
RawGit has sadly been down a couple of times recently. To avoid potential problems with it this switches to using a regular GitHub raw url in the payload.