Skip to content

Commit

Permalink
Merge pull request #137 from GetStream/add-header
Browse files Browse the repository at this point in the history
[PBE-1189] Add X-Stream-Client header
  • Loading branch information
xernobyl authored Nov 17, 2023
2 parents b20ed8c + fdf6507 commit 3c11713
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ private okhttp3.Request buildOkHttpRequest(io.getstream.core.http.Request reques
.url(request.getURL())
.addHeader("Stream-Auth-Type", "jwt")
.addHeader("Authorization", request.getToken().toString())
.addHeader("User-Agent", userAgent);
.addHeader("User-Agent", userAgent)
.addHeader("X-Stream-Client", "stream-java-" + version);

MediaType mediaType;
switch (request.getMethod()) {
Expand Down

0 comments on commit 3c11713

Please sign in to comment.