curb
curb copied to clipboard
Ruby bindings for libcurl
The license in the gemspec file was changed to MIT, but the contents of the LICENSE file and the README.md still refer to the Ruby license. Based on this it's...
* Add Ruby 3.1 * Disable fail-fast so the full matrix always runs * Run `apt-get update` before `apt-get install` * Relax `rdoc` version constraint to keep older Rubies working...
I'm wondering if CURLOPT_REQUEST_TARGET would need to be added to curb in order to perform requests where the Request-URI is different than the HTTP request's Host header (see code block...
This is not a issue but a tutorial: 1. Build cURL with all the features you need or download a binary. 2. Execute gem i curb -- --with-curl-lib=/bin --with-curl-include=/include Note...
I already try: ```ruby response = Curl::Easy.new(URL_FORM) response.set(Curl::CURLOPT_CAPATH, "/etc/ssl/certs") # and response.set(:capath, "/etc/ssl/certs") ``` But every time I got the same error: `Curb doesn't support setting capath [#10097] option` And...
Discovered call to Curl::Easy.new(url) results in unsupported protocol error if there are any preceding whitespaces in URL, i.e. ' http://www.domain.com', vs 'http://www.domain.com' Should update method to trim white spaces.
I'm trying to install the curb gem in my Mac OSX Lion. I tried all solutions cited here already, like http://stackoverflow.com/questions/2350141/having-issues-with-curb-gem-on-mac-snow-leopard my environment ruby 1.9.2 (rvm), mac OSX Lion, Xcode...
As detailed in issue #48, curb does not directly allow setting certain timeout options available in curl. This would have been a minor inconvenience if curb exposed curl_easy_setopt call (and...
I'm trying to use on_failure to raise a custom error and then rescue it elsewhere in my app, but curb/multi doesn't seem to allow this and returns 'uncaught exception from...
I'm not getting it, why would on_redirect be called only if follow_location is false? I expect it to be called always if there's a redirection. #268 How do I do...