spyoungtech / grequests

Requests + Gevent = <3
https://pypi.python.org/pypi/grequests
BSD 2-Clause "Simplified" License
4.46k stars 331 forks source link

Add support for storing a source object with the request. #74

Closed jsjeannotte closed 8 years ago

jsjeannotte commented 8 years ago

Useful since GRequest only returns the requests "Response" object which, besides the original "Request" object, doesn't give additional context except the url. With this added source object, the user can store any object that can be later used when processing the responses.