class Falcon::Adapters::Input

def rewind

rewind must be called without arguments. It rewinds the input stream back to the beginning. It must not raise Errno::ESPIPE: that is, it may not be a pipe or a socket. Therefore, handler developers must buffer the input data into some rewindable object if the underlying input stream is not rewindable.
def rewind
	if @body
		# If the body is not rewindable, this will fail.
		@body.rewind
		@buffer.clear
		@finished = false
	end
end