class Async::HTTP::Reference

def append(buffer)

def append(buffer)
	if @query_string
		buffer << escape_path(@path) << '?' << query_string
		buffer << '&' << encode(@parameters) if @parameters
	else
		buffer << escape_path(@path)
		buffer << '?' << encode(@parameters) if @parameters
	end
	
	if @fragment
		buffer << '#' << escape(@fragment)
	end
	
	return buffer
end