Method: Rex::Proto::Http::Response#check_100
- Defined in:
- lib/rex/proto/http/response.rb
#check_100 ⇒ Object
Allow 100 Continues to be ignored by the caller
103 104 105 106 107 108 109 |
# File 'lib/rex/proto/http/response.rb', line 103 def check_100 # If this was a 100 continue with no data, reset if self.code == 100 and (self.body_bytes_left == -1 or self.body_bytes_left == 0) and self.count_100 < 5 self.reset_except_queue self.count_100 += 1 end end |