Merge pull request #694 from tonivdv/revert_fix_link

revert fix "LINK workaround for firefox"
This commit is contained in:
William Durand 2015-10-23 11:00:49 +02:00
commit 7f5f8bd258

View File

@ -471,7 +471,6 @@
// retrieve the additional headers to send // retrieve the additional headers to send
$('.headers .tuple', $(this)).each(function() { $('.headers .tuple', $(this)).each(function() {
var key, value; var key, value;
@ -520,12 +519,6 @@
} }
{% endif %} {% endif %}
// Workaround for Firefox bug and a thereby resulting nginx incompatibility
if (method == "LINK") {
method = "POST";
params._method = "LINK";
}
// prepare final parameters // prepare final parameters
var body = {}; var body = {};
if(bodyFormat == 'json' && method != 'GET') { if(bodyFormat == 'json' && method != 'GET') {