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
189 190 191 192 193 194 195 |
# File 'lib/rex/proto/http/response.rb', line 189 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 |