mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #169 from gordalina/fix-response-headers
Reponse headers are inserted into the DOM as HTML instead of Text
This commit is contained in:
commit
8af10934fe
@ -121,7 +121,7 @@
|
||||
var text = xhr.status + ' ' + xhr.statusText + "\n\n";
|
||||
text += xhr.getAllResponseHeaders();
|
||||
|
||||
container.html(text);
|
||||
container.text(text);
|
||||
};
|
||||
|
||||
var displayResponse = function(xhr, method, url, result_container) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user