Skip to content

Commit 13fb6f7

Browse files
committed
feat(PLU-199): add support for RevEng user agent
1 parent c4b8085 commit 13fb6f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ai/reveng/toolkit/ghidra/core/services/api/TypedApiImplementation.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public TypedApiImplementation(String baseUrl, String apiKey) {
109109
headers = new HashMap<>();
110110
headers.put("Authorization", apiKey);
111111
headers.put("User-Agent", userAgent);
112+
headers.put("X-RevEng-Application", userAgent);
112113

113114
// TODO: Actually implement support for some encodings and then accept them
114115
// headers.put("Accept-Encoding", "gzip, deflate, br");

0 commit comments

Comments
 (0)