A set of useful tools for aiohttp.web server
HTTPBadRequest
instead of ValueError
when X-Forwarded-For
header is not a valid IP. (#311 <https://github.com/aio-libs/aiohttp-remotes/issues/311>
_)#331 <https://github.com/aio-libs/aiohttp-remotes/issues/331>
_)The library is stable enough to make the 1.0 release!
Other changes:
Drop Python 3.5 support
Officially support Python 3.8 and Python 3.9
Provide X-Forwarded
middleware that filters out trusted values (#153)
Add type annotations