httpclient
httpclient copied to clipboard
'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
...ess stripped
Sorry, I don't know quite the right words to describe this. But, even without a persistent connection, it looks to me that great increase in performance can be had by...
It shouldn't suppress the error. https://github.com/nahi/httpclient/blob/master/lib/httpclient/session.rb#L871
`HTTPClient::KeepAliveDisconnected: Connection reset by peer` I'm getting this exception from elasticsearch-ruby gem that uses httpclient. I believe this exception should be handled inside httpclient itself. Because you can always reconnect....
Error occured when FILE IO's postion is END. I don't want to error as possible.
I'm trying to run calabash-android console ./apk/app-_debug-4.0.2-home_feed_recycler_view.apk and on the moment I type the query rg : query("button") I received this error from /Library/Ruby/Gems/2.0.0/gems/httpclient-2.3.4.1/lib/httpclient/session.rb:882:in `block in parse_header' from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in`timeout' from...
HTTPClient doesn't handle properly invalid schemes, and instead of throwing an exception it takes a long time until it timeouts instead. `HTTPClient.new.get('zzz://test.com')` `HTTPClient::ConnectTimeoutError: execution expired` A better way to handle,...
Currently, the docs say that you can use `base_url` in this way: https://github.com/nahi/httpclient/blob/837d59f1ad19d5940c810e34e408d15897d5bacb/lib/httpclient.rb#L395 Reproduced here: ``` # After you set :base_url, all resources you pass to get, post and other...
Hi, I've got this exception: ``` undefined method `chomp!' for nil:NilClass; bundle/ruby/2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:128:in `parse_record' bundle/ruby/2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:103:in `block in load' bundle/ruby/2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:102:in `each_line' bundle/ruby/2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:102:in `load' bundle/ruby/2.2.0/gems/http-cookie-1.0.2/lib/http/cookie_jar.rb:325:in `block in load' bundle/ruby/2.2.0/gems/http-cookie-1.0.2/lib/http/cookie_jar.rb:324:in `open' bundle/ruby/2.2.0/gems/http-cookie-1.0.2/lib/http/cookie_jar.rb:324:in `load' bundle/ruby/2.2.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:22:in...
We are seeing excessive logging of `Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need "." at the beginning.` I raised an exception there and from the stack...