net-http icon indicating copy to clipboard operation
net-http copied to clipboard

Net::HTTP provides a rich library which can be used to build HTTP user-agents.

Results 71 net-http issues
Sort by recently updated
recently updated
newest added

I've been debugging HTTPS proxy support all day and I'm coming to the conclusion the released implementation may be be broken. Stepping through an example invocation: ``` n = Net::HTTP.new('google.com',...

https://github.com/ruby/net-http/pull/55 added support for HTTPS proxies, which is a nice feature. In that MR the lack of ability to set verification settings was called out as improvement point, but wasn't...

``` irb(main):001> require 'net/http' => true irb(main):002> n = Net::HTTP.new('192.0.2.10', 80, '127.0.0.1', 5000, nil, nil, nil, true) => # irb(main):003> n.instance_variable_get(:@proxy_use_ssl) => true irb(main):004> n.start => # irb(main):005> n.get('/') ```...

This MR ensures that if a connection is requested to a HTTP server over a HTTPS proxy, the SSL connection setup to the proxy is performed. Proposed solution to https://github.com/ruby/net-http/issues/210

Hello. I would like to know if you would welcome a change to remove [`suppy_default_content_type`](https://github.com/ruby/net-http/blob/ae6c43c2961fcceb877494a0f96ae3ad93203737/lib/net/http/generic_request.rb#L263). Checking RFC for Content-Type: https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.1.5 ``` A sender that generates a message containing a payload...

Fixes https://github.com/ruby/net-http/issues/205

Freeze `Net::HTTP::SSL_IVNAMES`, `Net::HTTPResponse::CODE_CLASS_TO_OBJ` and `Net::HTTPResponse::CODE_TO_OBJ` to improve Ractor compatibility. This change allows the following code to work: ```ruby Ractor.new { uri = URI.parse('http://example.com') http = Net::HTTP.new(uri.host, uri.port) http.open_timeout = nil...

On 2025-01-07 the [`QUERY` HTTP method, "a safe, idempotent request method that can carry request content." has reached ~the level of a Proposed Standard~ consensus and is on track to...

`https://www.moviesubtitles.org/search.php?q=test` returns HTTP 500. - Firefox: Displays the page - `net-http`: Returns no body, and `SSL_read: unexpected eof while reading (OpenSSL::SSL::SSLError)` Adding `http.ignore_eof = true` does not mitigate the situation....

This is a report of a problem that I contacted the Ruby maintainer earlier and the maintainer determined to be a **Bug**, not a Vulnerability. ------------------- I found "multipart/form-data Request...