Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP.with should be HTTP.with_headers ? #39

Open
rapicastillo opened this issue Mar 4, 2016 · 1 comment
Open

HTTP.with should be HTTP.with_headers ? #39

rapicastillo opened this issue Mar 4, 2016 · 1 comment

Comments

@rapicastillo
Copy link

Tried running a consumer via the example:

Krakow::Consumer.new(:nsqlookupd => "http://127.0.0.1:4160", :topic => 'green', :channel => 'provider', :max_in_flight => 10)`

However, I get a <Krakow::Discovery:70300507763280>: Lookup exception encountered: NoMethodError - undefined methodwith' for HTTP:Module` error

In https://github.com/chrisroberts/krakow/blob/master/lib/krakow/discovery.rb#L35

It shows the call as HTTP.wtih(:accept = '..') when it HTTP it was shown as HTTP.with_header

@daqing
Copy link

daqing commented Dec 24, 2018

I run into the same problem today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants