Part of lp.bugs.externalbugtracker.github View In Hierarchy
| Method | checkLimit | A context manager that checks the remote host's rate limit. |
| Method | clearCache | Forget any cached rate limits. |
| Parameters | url | The URL being requested. |
| token | If not None, an OAuth token to use as authentication to the remote host when asking it for the current rate limit. | |
| Returns | A suitable Authorization header (from the context
manager's __enter__ method). | |
| Raises | GitHubExceededRateLimit | if the rate limit was exceeded. |