New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Net::HTTP nil body bug #3825
Fix Net::HTTP nil body bug #3825
Conversation
Huh, I can't even find this code in current |
It appears based on ruby/ruby@b1a0509 this functionality was moved to |
@headius The problem is not in the JRuby 9k series, only in JRuby 1.x (including the latest 1.7.25), using the 1.9 stdlib (later stdlib versions do fix it). I noticed there are multiple versions of the stdlib in the 1.7.25 code. My install used the 1.9 versions, and I'm not sure how the others are used (looked for documentation and command line options, but didn't find any). My intention with the PR is that the upcoming 1.7.26 release doesn't have this no method on nil issue. I asked on IRC and understood that the PR should merge into the branch |
@chrisberkhout Thank you for clarifying about 9k! The 1.8 and 2.0 stdlibs in JRuby 1.7.x are used when running with Thanks for the PR! |
@headius No worries. I checked again, and the weird response we had is correctly processed by 1.8 or 2.0. So that's it! :) |
@chrisberkhout Thanks for confirming! |
@BanzaiMan I'm wondering, why wasn't this merged? |
@chrisberkhout I think @BanzaiMan thought it had already been merged. |
Cool. Thanks @enebo! |
No description provided.