mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #694 from tonivdv/revert_fix_link
revert fix "LINK workaround for firefox"
This commit is contained in:
commit
7f5f8bd258
@ -471,7 +471,6 @@
|
||||
|
||||
|
||||
|
||||
|
||||
// retrieve the additional headers to send
|
||||
$('.headers .tuple', $(this)).each(function() {
|
||||
var key, value;
|
||||
@ -520,12 +519,6 @@
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
// Workaround for Firefox bug and a thereby resulting nginx incompatibility
|
||||
if (method == "LINK") {
|
||||
method = "POST";
|
||||
params._method = "LINK";
|
||||
}
|
||||
|
||||
// prepare final parameters
|
||||
var body = {};
|
||||
if(bodyFormat == 'json' && method != 'GET') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user