Skip to content

Commit b01fea1

Browse files
committed
Add @returns to read_body.
1 parent b263f89 commit b01fea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/protocol/http1/connection.rb

+1
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ def read_request_body(method, headers)
944944
#
945945
# @parameter headers [Hash] the headers of the message.
946946
# @parameter remainder [Boolean] whether to read the remainder of the body.
947+
# @returns [Object] the body.
947948
def read_body(headers, remainder = false)
948949
# 3. If a Transfer-Encoding header field is present and the chunked
949950
# transfer coding (Section 4.1) is the final encoding, the message

0 commit comments

Comments
 (0)