'Convenience method to synchronously fetch a url.
The given path will be appended to the local server\'s host and
port.  Any additional kwargs will be passed directly to
`.AsyncHTTPClient.fetch` (and so could be used to pass
``method="POST"``, ``body="..."``, etc).'

def fetch(self, path, **kwargs):

    self.http_client.fetch(self.get_url(path), self.stop, **kwargs)
    return self.wait()
