Skip to main content

Request for default

Project description



This set default requests <>_'s url, headers etc...

from requests_base import DefaultSession
    session = DefaultSession(base_url='', headers={'api-key': 'aabbcc'})
    r = session.get('sub-resource/', params={'foo': 'bar'})


Distributed under the terms of the MIT license, pytest is free and open source software.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requests-default-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

requests_default-0.1.1-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page