aiohttp.CookieJar.filter_cookies does not accept string parameter #1636
Closed
Description
Long story short
Documentation states that it should be possible to filter cookies using URL as a plain string. However, that raises an exception:
filtered = session.cookie_jar.filter_cookies('http://httpbin.org')
Expected behaviour
It should be possible to filter cookies by plain string.
Actual behaviour
Using plain string causes an exception.
Steps to reproduce
Follow example in documentation.