Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/i/n/insanities-0.3/insanities/web/testing.py   insanities(Download)
def ask(application, url, method='get', data=None,
        headers=None, additional_env=None, additional_data=None):
    env = VersionedStorage(additional_env or {})
    #TODO: may be later process cookies separatly
    env.request = Request.blank(url, POST=data, headers=headers)