-
Notifications
You must be signed in to change notification settings - Fork 66
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
[DOC] Enhanced RDoc for Net::HTTP #84
Conversation
lib/net/http/requests.rb
Outdated
# | ||
# Related: | ||
# | ||
# - Net::HTTP.delete: sends +DELETE+ request, returns response object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There also doesn't seem to be a Net::HTTP.delete
method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
lib/net/http/requests.rb
Outdated
# | ||
# Related: | ||
# | ||
# - Net::HTTP.options: sends +OPTIONS+ request, returns response object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto on no method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
lib/net/http/requests.rb
Outdated
# | ||
# Related: | ||
# | ||
# - Net::HTTP.trace: sends +TRACE+ request, returns response object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto on not existing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
lib/net/http/requests.rb
Outdated
# | ||
# Related: | ||
# | ||
# - Net::HTTP.patch: sends +PATCH+ request, returns response object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto on not existing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's still a few comments about methods that don't seem to exist that you haven't resolved yet.
I don;t know what to say, other than, "Yes, you're right." They're not here, but that's not for a documentation PR to deal with (even if it needs to be dealt with). |
I'm not sure I understand what you mean? You're mentioning methods that don't exist in the "Related" section. |
@peterzhu2118, ready for you now. |
Adds documentation for classes
Net::HTTP::
verb for 15 verbs (HTTP and WebDAV). Adds links to those pages fromNet::HTTPRequest
.Reviewers, you can verify the given properties at https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Properties_of_request_methods_table.