Clarification on jQuery ajax content-type

Asked

Viewed 88 times

1

What would be the difference/utility to use:

beforeSend: function(jqXHR) {
   jqXHR.overrideMimeType('text/plain; charset=iso-8859-1')
}

and contentType: 'text/plain; charset=iso-8859-1', contenttype just doesn’t work.

According to jQuery’s documentation, it should work.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.