Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 8020:60c98a8a23bd
fix: make If-None-Match work for static file (@@file) case
Found by Redbot testing.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 02 Jun 2024 20:35:47 -0400 |
| parents | d5d7ecd31864 |
| children |
line wrap: on
line source
try: # Python 3+ from ssl import SSLError except (ImportError, AttributeError): # Python 2.5-2.7 from socket import sslerror as SSLError # noqa: F401
