Method: Net::HTTP#close_on_empty_response
- Defined in:
- lib/net/http.rb
#close_on_empty_response ⇒ Object
Sets or returns whether to close the connection when the response is empty; initially false.
1496 1497 1498 |
# File 'lib/net/http.rb', line 1496 def close_on_empty_response @close_on_empty_response end |