Here: https://github.com/jpillora/jquery.rest/blob/gh-pages/dist/1/jquery.rest.js#L345
if (data && this.opts.stringifyData && (method !== 'GET' && method !== 'HEAD')) {
data = stringify(data);
headers['Content-Type'] = "application/json";
}
That seems not very handy while working with JSON API format for example (http://jsonapi.org/format/) which requires different content-type.
Here: https://github.com/jpillora/jquery.rest/blob/gh-pages/dist/1/jquery.rest.js#L345
That seems not very handy while working with JSON API format for example (http://jsonapi.org/format/) which requires different content-type.