From: Chris Rebert Date: Sun, 17 Aug 2014 22:41:53 +0000 (-0700) Subject: Fix #14411 by setting JSON Content-Type for Gist API request X-Git-Tag: v3.3.0~251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c2c372f6a14eae4bf7ae51958f770583bc2ccc;p=thirdparty%2Fbootstrap.git Fix #14411 by setting JSON Content-Type for Gist API request --- diff --git a/docs/assets/js/src/customizer.js b/docs/assets/js/src/customizer.js index 7340f1668f..3af093c9ae 100644 --- a/docs/assets/js/src/customizer.js +++ b/docs/assets/js/src/customizer.js @@ -73,6 +73,7 @@ window.onload = function () { // wait for load in a dumb way because B-0 $.ajax({ url: 'https://api.github.com/gists', type: 'POST', + contentType: 'application/json; charset=UTF-8', dataType: 'json', data: JSON.stringify(data) })