class Protocol::HTTP::Body::Writable

def read

Read the next available chunk.
def read
	if @error
		raise @error
	end
	
	# This operation may result in @error being set.
	chunk = @queue.pop
	
	if @error
		raise @error
	end
	
	return chunk
end