This is an automated email from the ASF dual-hosted git repository.
dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git
The following commit(s) were added to refs/heads/develop by this push:
new c876b04 Disabling cores for http download
c876b04 is described below
commit c876b0434d30da3fc5d216118c36542f4aba9abb
Author: Dimuthu Wannipurage <[email protected]>
AuthorDate: Sun Jul 25 19:14:47 2021 -0400
Disabling cores for http download
---
.../main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
b/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
index 18fca15..ed07a23 100644
---
a/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
+++
b/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
@@ -113,6 +113,8 @@ public class HttpServerHandler extends
SimpleChannelInboundHandler<FullHttpReque
response.headers().set(HttpHeaderNames.CONNECTION,
HttpHeaderValues.KEEP_ALIVE);
}
+
response.headers().set(HttpHeaderNames.ACCESS_CONTROL_ALLOW_ORIGIN, "*");
+
// Write the initial line and the header.
ctx.write(response);