diff --git a/gateway/assets/index.html b/gateway/assets/index.html
index 0675996f..32cecccb 100644
--- a/gateway/assets/index.html
+++ b/gateway/assets/index.html
@@ -172,10 +172,10 @@
-
-
-
-
+
+
+
+
diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js
index 13bca079..c87b3d75 100644
--- a/gateway/assets/script/bootstrap.js
+++ b/gateway/assets/script/bootstrap.js
@@ -91,9 +91,9 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md
}
$http(options)
- .success(function (data, status, headers) {
-
- var headerMap = headers();
+ .then(function (response) {
+ var data = response.data;
+ var status = response.status;
if($scope.invocation.contentType == "binary") {
var filename = uuidv4();