Skip to content

Commit 4b5c367

Browse files
author
Hans-Peter Klett
committed
Added the explicit naming convention header.
1 parent 1a8caa2 commit 4b5c367

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/main/java/com/spectralogic/ds3client/commands/AbstractRequest.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,14 @@
2525

2626
abstract class AbstractRequest implements Ds3Request {
2727

28-
private final Map<String, String> headers = new HashMap<>();
28+
private final Map<String, String> headers = buildDefaultHeaders();
2929
private final Map<String, String> queryParams = new HashMap<>();
30+
31+
private static Map<String, String> buildDefaultHeaders() {
32+
final Map<String, String> headers = new HashMap<>();
33+
headers.put("Naming-Convention", "s3");
34+
return headers;
35+
}
3036

3137
@Override
3238
public ContentType getContentType() {

0 commit comments

Comments
 (0)