mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-02 21:36:14 +03:00
Merge pull request #694 from tonivdv/revert_fix_link
revert fix "LINK workaround for firefox"
This commit is contained in:
commit
7f5f8bd258
1 changed files with 0 additions and 7 deletions
|
@ -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…
Add table
Reference in a new issue