You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maybe I missed something but I don't see a way how to send a set of requests to server with only one Keep-Alive connection as the HTTP/1.1 specification allows.
in source code lib/restclient/request.rb#108 a new instance of Net::HTTP is created and so a new connection will be opened.
It would be great having something like following code snippet:
::RestClient::Resource.new(...) do |res|
res['path/first'].get
res['path/second'].get
end
where the block will be performed with one Keep-Alive connection.
The text was updated successfully, but these errors were encountered:
maybe I missed something but I don't see a way how to send a set of requests to server with only one Keep-Alive connection as the HTTP/1.1 specification allows.
in source code lib/restclient/request.rb#108 a new instance of Net::HTTP is created and so a new connection will be opened.
It would be great having something like following code snippet:
::RestClient::Resource.new(...) do |res|
res['path/first'].get
res['path/second'].get
end
where the block will be performed with one Keep-Alive connection.
The text was updated successfully, but these errors were encountered: