metasploit-framework/spec/lib/rex
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
..
arch use explicit exceptions for raise_error 2015-12-10 21:47:22 -06:00
encoder use explicit exceptions for raise_error 2015-12-10 21:47:22 -06:00
encoding/xor decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00
exploitation Remove operators after .to with matchers 2015-12-10 21:47:22 -06:00
image_source decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00
java/serialization decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00
mime decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00
ole example_group and hook_scope conversions 2015-12-31 16:56:13 -06:00
parser Land #6267, the rest of the rspec3 updates 2016-01-29 11:36:58 -06:00
payloads/meterpreter it { should -> it { is_expected.to 2015-12-10 21:47:22 -06:00
post Revert bad merge and include expect calls 2016-01-21 10:28:38 +10:00
powershell .should_not -> expect().not_to 2015-12-10 21:47:22 -06:00
proto Fix #6609 and #6587 - Change Content-Length behavior in Rex HTTP 2016-02-29 10:50:21 -06:00
socket it { should_not -> it { is_expected.not_to 2015-12-10 21:47:22 -06:00
sslscan example_group and hook_scope conversions 2015-12-31 16:56:13 -06:00
arch_spec.rb decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00
file_utils_spec.rb .should -> expect().to 2015-12-10 21:47:22 -06:00
mac_oui_spec.rb use explicit exceptions for raise_error 2015-12-10 21:47:22 -06:00
powershell_spec.rb .should -> expect().to 2015-12-10 21:47:22 -06:00
random_identifier_generator_spec.rb use explicit exceptions for raise_error 2015-12-10 21:47:22 -06:00
socket_spec.rb example_group and hook_scope conversions 2015-12-31 16:56:13 -06:00
text_spec.rb remove deprecated syntax from text_spec 2015-12-10 21:47:22 -06:00
time_spec.rb decribe -> RSpec.describe 2015-12-10 21:47:22 -06:00