human
Here's a good function header given the following:
I wrote the below code

    base_url = url
    def web_request(url, method=None, body=None):
        req = webob.Request.blank(('%s%s' % (base_url, url)))
        if method:
            req.content_type = 'application/json'
            req.method = method
        if body:
            req.body = jsonutils.dump_as_bytes(body)
        return req
    return web_request

What's a good function header?
assistant
#Here's a good function header.

def webob_factory(url):