Merge branch 'develop_2.0' of github.com:swagger-api/swagger-ui into develop_2.0

This commit is contained in:
Tony Tam
2015-05-08 12:45:12 -07:00

View File

@@ -569,6 +569,7 @@ SwaggerUi.Views.OperationView = Backbone.View.extend({
url = response.request.url; url = response.request.url;
} }
var headers = response.headers; var headers = response.headers;
content = jQuery.trim(content);
// if server is nice, and sends content-type back, we can use it // if server is nice, and sends content-type back, we can use it
var contentType = null; var contentType = null;