class Protocol::HTTP::Body::Writable

def status

@returns [String] A string representation of the body's status.
def status
	if @queue.empty?
		if @queue.closed?
			"closed"
		else
			"waiting"
		end
	else
		if @queue.closed?
			"closing"
		else
			"ready"
		end
	end
end