Skip to content

feat: send the caller identification in the User-Agent - #2

Merged
meznaric merged 1 commit into
mainfrom
feat/user-agent-channel
Sep 29, 2026
Merged

meznaric merged 1 commit into
mainfrom
feat/user-agent-channel

Conversation

@othercodes

@othercodes othercodes commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

The caller identification moves from X-Webshare-Source into User-Agent, which now leads with the product token and ends with the library: WebshareSDK/0.1.1 (Python; 3.12.8) webshare-python/0.1.1. That is what RFC 9110 designs the header for, and it lets the API tell a tool built on the SDK from a plain SDK call while keeping the library version in the same string.

The source client option keeps its name and still replaces the product token. The old header is no longer sent.

@meznaric
meznaric merged commit 62a3e0d into main Sep 29, 2026
8 checks passed
@meznaric
meznaric deleted the feat/user-agent-channel branch September 29, 2026 10:00
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.

2 participants