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

hang inside a controller #14

Open
ccfiel opened this issue Aug 14, 2013 · 0 comments
Open

hang inside a controller #14

ccfiel opened this issue Aug 14, 2013 · 0 comments

Comments

@ccfiel
Copy link

ccfiel commented Aug 14, 2013

I have tried to used curb-fu inside a controller but it just hang but when I tried to put it in a rake task it run just fine. This is the code

response = CurbFu.post(Figaro.env.bpi_url.to_s.strip, bpi_data) { |curb|
  curb.follow_location = true ,
  curb.enable_cookies = true
}

Any idea why?

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

1 participant