Title: Net::HTTP returns empty response body for HTTPS requests in 2.0 mode · Issue #1216 · jruby/jruby · GitHub
Open Graph Title: Net::HTTP returns empty response body for HTTPS requests in 2.0 mode · Issue #1216 · jruby/jruby
X Title: Net::HTTP returns empty response body for HTTPS requests in 2.0 mode · Issue #1216 · jruby/jruby
Description: Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body returns an empty string for https:// requests....
Open Graph Description: Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body return...
X Description: Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body re...
Opengraph URL: https://github.com/jruby/jruby/issues/1216
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Net::HTTP returns empty response body for HTTPS requests in 2.0 mode","articleBody":"Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but `response.body` returns an empty string for `https://` requests.\n\nHere's a test program to reproduce:\n\n```\nrequire \"net/https\"\n\nuri = URI.parse(\"https://rubygems.org/\")\nhttp = Net::HTTP.new(uri.host, uri.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Get.new(uri.request_uri)\nresponse = http.request(request)\nputs \"#{response.code} - #{response.body.size}\"\n```\n\nAnd the output (tested in 1.7.5 and 1.7.6):\n\n```\n$ jruby -S ./test.rb\n200 - 9188\n$ jruby --2.0 -S ./test.rb \n200 - 0\n```\n","author":{"url":"https://github.com/rykov","@type":"Person","name":"rykov"},"datePublished":"2013-11-11T21:17:57Z","url":"https://github.com/jruby/jruby/issues/1216"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f2ff3328-0bb3-74a9-c999-032e86684482 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93E8:9F992:C7792:108354:6B036AE3 |
| html-safe-nonce | d6e7b4ca0389f6c4d08e230442a1dbcdf5089b8303b0b6e266a4af3152953af7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0U4OjlGOTkyOkM3NzkyOjEwODM1NDo2QjAzNkFFMyIsInZpc2l0b3JfaWQiOiIxNDk1MDc1MDg0MjY0NjgwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b10f45778be6d2aa7cdf239176be19a45745ad6c1f0221e9c5f444d115e4d82f |
| hovercard-subject-tag | issue:22477261 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jruby/jruby/1216/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f6bb64f606f0ba505ae05becf23436d2407723b8b94a5b82609738431f60db80/jruby/jruby/issues/1216 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6bb64f606f0ba505ae05becf23436d2407723b8b94a5b82609738431f60db80/jruby/jruby/issues/1216 |
| og:image:alt | Gemfury customers are reporting problems using the service with jRuby in Ruby 2.0 mode. We've tracked it down to an odd issue where Net::HTTP returns a successful response, but response.body return... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rykov |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/jruby/jruby git https://github.com/jruby/jruby.git |
| octolytics-dimension-user_id | 55687 |
| octolytics-dimension-user_login | jruby |
| octolytics-dimension-repository_id | 168370 |
| octolytics-dimension-repository_nwo | jruby/jruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 168370 |
| octolytics-dimension-repository_network_root_nwo | jruby/jruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width