This repository was archived by the owner on Nov 7, 2021. It is now read-only.

Description
yarl (0.8.1) aio-libs/yarl#9
File "/usr/local/lib/python3.5/dist-packages/aioes/connection.py", line 41, in perform_request
url = self._base_url.with_path(url)
AttributeError: 'URL' object has no attribute 'with_path'
I update aiohttp to 2.0.3 slove the "with_path" problem
And
I am not able to add http headers when I perform http request in es operation
I want to pass header as argument when instantiate the es client
headers = {"Host": u"***", "key": "***"}
es = Elasticsearch(['localhost:8888'], headers=headers)
TypeError: __init__() got an unexpected keyword argument 'headers'
with elasticsearch==5.1.0, I can do that
Now
I need to reserve header argument in connection.py->Connection->perform_request, and reserve for every method/class using it