Skip to content

Conversation

@larskanis
Copy link
Member

Because it fails in ruby-spec like so:

1)
Net::HTTP.post sends Content-Type: application/x-www-form-urlencoded by default FAILED
Expected "{\"Accept-Encoding\" => \"gzip;q=1.0,deflate;q=0.6,identity;q=0.3\", \"Accept\" => \"*/*\", \"User-Agent\" => \"Ruby\", \"Host\" => \"localhost:65525\", \"Content-Length\" => \"9\"}"
to include "\"Content-Type\" => \"application/x-www-form-urlencoded\""
D:/a/rubyinstaller2/rubyinstaller2/ruby/spec/ruby/library/net-http/http/post_spec.rb:30:in 'block (2 levels) in <top (required)>'
D:/a/rubyinstaller2/rubyinstaller2/ruby/spec/ruby/library/net-http/http/post_spec.rb:6:in '<top (required)>'

Because it fails in ruby-spec like so:

```
1)
Net::HTTP.post sends Content-Type: application/x-www-form-urlencoded by default FAILED
Expected "{\"Accept-Encoding\" => \"gzip;q=1.0,deflate;q=0.6,identity;q=0.3\", \"Accept\" => \"*/*\", \"User-Agent\" => \"Ruby\", \"Host\" => \"localhost:65525\", \"Content-Length\" => \"9\"}"
to include "\"Content-Type\" => \"application/x-www-form-urlencoded\""
D:/a/rubyinstaller2/rubyinstaller2/ruby/spec/ruby/library/net-http/http/post_spec.rb:30:in 'block (2 levels) in <top (required)>'
D:/a/rubyinstaller2/rubyinstaller2/ruby/spec/ruby/library/net-http/http/post_spec.rb:6:in '<top (required)>'

```
@larskanis larskanis merged commit 7a7d820 into master Dec 17, 2025
6 of 9 checks passed
@larskanis larskanis deleted the fix-spec-net-http branch December 17, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants