Mercurial > p > roundup > code
view roundup/anypy/http_.py @ 8489:4e0944649af7
chore: update actions/checkout from 6.0.0 to 6.1.1 pull74
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 08 Dec 2025 23:07:57 -0500 |
| parents | 9d2ad7386627 |
| children |
line wrap: on
line source
try: # Python 3+ from http import client, server except (ImportError, AttributeError): # Python 2.5-2.7 import BaseHTTPServer as server # noqa: F401 import httplib as client # noqa: F401 client.TOO_MANY_REQUESTS = 429
