krakow
krakow copied to clipboard
Support for http (gem) v1 - using #headers instead of #with
The http gem v1 removed the #with
deprecated method. It was used to set the
"Accept"
header in the request to nsqlookupd. Replaces it with #headers
should do the trick.
See: https://github.com/httprb/http/blob/master/CHANGES.md#100-2015-12-25
Any news on this @chrisroberts :)?