Commit bdfd2cb
authored
fix: confirmation rate-limit errors (#510)
Add the browser-style `Accept-Language` header to bulk confirmation
requests. Steam Community now appears to require this header on non-GET
requests and otherwise eventually responds with HTTP 429.
Closes #509
## Testing
- `cargo test -p steamguard` (22 passed)1 parent f1ffe2b commit bdfd2cb
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
0 commit comments