mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
revert fix "Added workaround for Firefox not sending LINK in uppercase what then"
This commit is contained in:
parent
4351ca66d3
commit
f57a8bf7ae
@ -520,12 +520,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') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user