Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Lib
core
OS Core Common
Commits
9fcb7130
Commit
9fcb7130
authored
Jun 05, 2020
by
Rostislav Vatolin [SLB]
☕
Browse files
update response headers
parent
8c2179bc
Pipeline
#2313
passed with stages
in 17 minutes and 44 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
9fcb7130
...
...
@@ -6,7 +6,7 @@
<groupId>
org.opengroup.osdu
</groupId>
<artifactId>
os-core-common
</artifactId>
<version>
0.0.1
3
</version>
<version>
0.0.1
4
</version>
<packaging>
jar
</packaging>
<properties>
...
...
src/main/java/org/opengroup/osdu/core/common/http/ResponseHeaders.java
View file @
9fcb7130
...
...
@@ -30,7 +30,7 @@ public class ResponseHeaders {
});
STANDARD_RESPONSE_HEADERS
.
put
(
"Access-Control-Allow-Headers"
,
new
ArrayList
<
Object
>()
{
{
add
(
"origin, content-type, accept, authorization,
account-id,
data-partition-id, correlation-id,
on-behalf-of,
appkey"
);
add
(
"origin, content-type, accept, authorization, data-partition-id, correlation-id, appkey"
);
}
});
STANDARD_RESPONSE_HEADERS
.
put
(
"Access-Control-Allow-Methods"
,
new
ArrayList
<
Object
>()
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment