Repository navigation
Commit a4cc539
committed
feat(user-agent): rename the client to socket-python-cli
Socket's public APIs read the User-Agent to attribute a request, and
every other Socket client names itself in lowercase-hyphen form. The
camel-case name was the odd one out.
The name lived as a literal in two places, so a rename could half-apply.
Both now read USER_AGENT_NAME from socketsecurity/__init__.py.
depscan accepts SocketPythonCLI/ and socket-python-cli/ both, so
attribution carries across the rename with no gap. Nothing breaks if
this ships before or after that change.1 parent dfbcee5 commit a4cc539
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
243 | | - | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
0 commit comments