Hi, Tomáš. Thanks for your pull-request, however I don't fully understand what it's for. The link you put in the diff explains an issue with IIS server that has to do with processing AJAX POST's that have (1) JSON formatted data in the body of the request and (2) a mismatched content-type header.
This plugin does GET requests for the language files, not POST requests.
There is no content (data / request body) involved with the GET request, so a content-type header makes no sense.
Hi, Tomáš. Thanks for your pull-request, however I don't fully understand what it's for. The link you put in the diff explains an issue with IIS server that has to do with processing AJAX POST's that have (1) JSON formatted data in the body of the request and (2) a mismatched content-type header.
I'm not sure why this change makes sense.