We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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://dev.ctor.org/http-access2/ticket/233
The text was updated successfully, but these errors were encountered:
This test seems to work.
def test_receive_timeout_post # this test takes 2 sec assert_equal('hello', @client.post(@url + 'sleep', :sec => 2).content) @client.receive_timeout = 1 assert_equal('hello', @client.post(@url + 'sleep', :sec => 0).content) assert_raise(HTTPClient::ReceiveTimeoutError) do @client.post(@url + 'sleep', :sec => 2) end @client.receive_timeout = 3 assert_equal('hello', @client.post(@url + 'sleep', :sec => 2).content) end
Sorry, something went wrong.
I am closing this since no feedback was provided. Please reopen this or file a new issue if it still happens on the latest version of httpclient.
No branches or pull requests
http://dev.ctor.org/http-access2/ticket/233
The text was updated successfully, but these errors were encountered: