There is a feature request to add write timeout to Net::HTTP, but as of this writing it hasn’t been implemented yet. I’m not aware of any HTTP client library that supports write timeouts.
No longer true: https://github.com/ruby/ruby/pull/1575
No longer true: https://github.com/ruby/ruby/pull/1575