class Protocol::HTTP::Headers

def set(key, value)

@parameter value [String] the header value to assign.
@parameter key [String] the header key to replace.

Set the specified header key to the specified value, replacing any existing header keys with the same name.
def set(key, value)
	# TODO This could be a bit more efficient:
	self.delete(key)
	self.add(key, value)
end