metasploit-framework/spec/lib/rex
wchen-r7 d4b89edf9c Fix #6398, Missing Content-Length header in HTTP POST
RFC-7230 states that a Content-Length header is normally sent in
a POST request even when the value (length) is 0, indicating an
empty payload body. Rex HTTP client failed to follow this spec,
and caused some modules to fail (such as winrm_login).

Fix #6398
2016-04-28 11:44:10 -05: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 #6398, Missing Content-Length header in HTTP POST 2016-04-28 11:44:10 -05: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