def add_agent(self, location, agent):
self.agents[location] = agent<EOL>
Add an agent for URIs with the specified location.
:param bytes location:
    The URI authority/location (e.g. b'example.com:80')
:param agent: The twisted.web.iweb.IAgent to use for the location