Open Natim opened 10 years ago
I'm not against merging this, but a bit doubtful though.
We can have all this code in Daybed, but in the mean time, opening a PR on elasticsearch-py would be worth it IHMO. I don't see why it shouldn't support absolute urls for hosts!
Why should it?
The dict formalism is rather curious, since there's a standard for that! RFC-1738 :)
I can make a pull-request to them based on this assumption. There is not urgency yet to merge this patch since I already applied it in production.
Ok.
Also, I wouldn't have created a dedicated module just for one utility function. But it may be a matter of taste :) More generally, we should start thinking of #213 :)
More generally, we should start thinking of #213 :)
Exactly the reason why I did it like so :)
Good job @Natim! Your PR was merged in ES python client :) We will soon be able to close this here!
Updated.