theelous3 / asks

Async requests-like httplib for python.
MIT License
509 stars 63 forks source link

Fixed unknown_kwarg check with set difference #147

Closed millefalcon closed 4 years ago

millefalcon commented 5 years ago

The current implementation seems to be not raising a TypError if an unknown keyword arguments is passed in the request. And also, it will raise a NameError, if not kwarg is passed, since the unknown_kwarg is being again used while handling the StopIteration exception.