Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

Commit bdf0174

Browse files
committed
Prepare v2.0.1 - user agent
1 parent 726358c commit bdf0174

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/com/originstamp/api/client/ApiClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,7 @@ public Request buildRequest(String path, String method, List<Pair> queryParams,
965965

966966
final String url = buildUrl(path, queryParams, collectionQueryParams);
967967
final Request.Builder reqBuilder = new Request.Builder().url(url);
968+
headerParams.put("User-Agent", "OriginStamp Client Java/2.0 (Java/" + System.getProperty("java.version") + ")");
968969
processHeaderParams(headerParams, reqBuilder);
969970

970971
String contentType = (String) headerParams.get("Content-Type");

0 commit comments

Comments
 (0)