metasploit-framework/spec/lib/rex/proto/http
wchen-r7 bff4b4d5fc Fix #6609 and #6587 - Change Content-Length behavior in Rex HTTP
This patches changes two things:

1. If a module has a custom Content-Length, it will respect that
   instead of forcing its own.

2. If a request does not have anything in the body, the
   Content-Length header will not be set.

Fix #6609
Fix #6587
2016-02-29 10:50:21 -06:00
..
packet decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00
client_request_spec.rb Fix #6609 and #6587 - Change Content-Length behavior in Rex HTTP 2016-02-29 10:50:21 -06:00
client_spec.rb replace stubbing expects with allow statements 2015-12-10 21:47:22 -06:00
packet_spec.rb .should == -> expect().to eq 2015-12-10 21:47:22 -06:00
response_spec.rb example_group and hook_scope conversions 2015-12-31 16:56:13 -06:00