Skip to content

Commit bd35082

Browse files
authored
Update SPEC.rdoc
1 parent 2411d10 commit bd35082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SPEC.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ If present, an array of callables that will be run by the server after the respo
145145
=== The Input Stream
146146

147147
The input stream is an +IO+-like object which contains the raw HTTP request data. When applicable, its external encoding must be <tt>ASCII-8BIT</tt> and it must be opened in binary mode. The input stream must respond to +gets+, +each+, and +read+:
148-
* +gets+ must be called without arguments and return a +String+, or +nil+ on <tt>EOF</tt>.
148+
* +gets+ must be called without arguments and return a +String+, or +nil+ on EOF (end-of-file).
149149
* +read+ behaves like <tt>IO#read</tt>. Its signature is <tt>read([length, [buffer]])</tt>.
150150
* If given, +length+ must be a non-negative Integer (>= 0) or +nil+, and +buffer+ must be a +String+ and may not be +nil+.
151151
* If +length+ is given and not +nil+, then this method reads at most +length+ bytes from the input stream.

0 commit comments

Comments
 (0)