Object
# File lib/mechanize/monkey_patch.rb, line 4
4: def keep_alive?(req, res)
5: return false if /close/ =~ req['connection'].to_s
6: return false if @seems_1_0_server
7: return false if /close/ =~ res['connection'].to_s
8: return true if /keep-alive/ =~ res['connection'].to_s
9: return false if /close/ =~ res['proxy-connection'].to_s
10: return true if /keep-alive/ =~ res['proxy-connection'].to_s
11: (@curr_http_version == '1.1')
12: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.