1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Improve Net::HTTP docs:

* Make links from Net::GenericHTTPRequest work;
* Document +dest+ param of HTTPResponse#read_body;
* Slightly improve reference to particular response
  classes from HTTPResponse class docs.
This commit is contained in:
zverok 2019-10-26 12:21:33 +03:00 committed by Takashi Kokubun
parent f93cb6904c
commit 6221248294
Notes: git 2019-10-27 02:25:03 +09:00
2 changed files with 12 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# frozen_string_literal: false
# HTTPGenericRequest is the parent of the HTTPRequest class.
# Do not use this directly; use a subclass of HTTPRequest.
# HTTPGenericRequest is the parent of the Net::HTTPRequest class.
# Do not use this directly; use a subclass of Net::HTTPRequest.
#
# Mixes in the HTTPHeader module to provide easier access to HTTP headers.
# Mixes in the Net::HTTPHeader module to provide easier access to HTTP headers.
#
class Net::HTTPGenericRequest