module Protocol::HTTP::URL

def self.scan(string)

def self.scan(string)
	# TODO Ruby 2.6 doesn't require `.each`
	string.split('&').each do |assignment|
		key, value = assignment.split('=', 2)
		
		yield unescape(key), unescape(value)
	end
end