wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.79k stars 814 forks source link

Fix github unit tests #1520

Closed deathaxe closed 3 years ago

deathaxe commented 3 years ago

This PR adds an user_agent field to all API requests. It is crucial for api.github.com to work. It returns 403 "forbidden" without it and related tests fail.

Something else recovered from next branch from 2017 is the cache_length field.