Commit d79c264
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 5368c08 commit d79c264
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 | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
0 commit comments