Skip to content

feat: Send a standard User-Agent: sdk-name/version header#104

Open
emyller wants to merge 2 commits intomainfrom
feat/user-agent-header
Open

feat: Send a standard User-Agent: sdk-name/version header#104
emyller wants to merge 2 commits intomainfrom
feat/user-agent-header

Conversation

@emyller
Copy link
Copy Markdown

@emyller emyller commented Apr 14, 2026

The Flagsmith API cannot currently distinguish which SDK or version is making requests from this client. This is part of a cross-SDK effort to standardize User-Agent headers — Kotlin Android (Flagsmith/flagsmith-kotlin-android-client#83) and Flutter (Flagsmith/flagsmith-flutter-client#85) already ship theirs. The version strategy follows the release-please approach decided during review of #95 (#95 (comment)).

Changes

  • Every outbound HTTP request (REST API and real-time) identifies the SDK and its version
  • SDK version stays current automatically after each release

Supersedes #95
Closes #88

Review effort: 1/5

emyller and others added 2 commits April 14, 2026 19:34
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@emyller emyller requested a review from a team as a code owner April 14, 2026 23:13
@emyller emyller requested review from Zaimwa9 and removed request for a team April 14, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send a standard User-Agent: sdk-name/version header

1 participant