Request for default
Project description
requests-default
Info
This set default requests <https://docs.python-requests.org/en/latest/>
_'s url
, headers
etc...
from requests_base import DefaultSession
session = DefaultSession(base_url='https://example.com/resource/', headers={'api-key': 'aabbcc'})
r = session.get('sub-resource/', params={'foo': 'bar'})
print(r.request.url)
License
Distributed under the terms of the MIT license, pytest is free and open source software.
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for requests_default-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e525137c6dae466a3ab3f6652574bbf2aea336df1028659357799d780116f89e |
|
MD5 | e81bab56a2dd3d4cd3fc78940d09c3a7 |
|
BLAKE2b-256 | 26095d3346e298f93cd1ff90cadcb4c90da18cf2ac379eb18808a5e4b00826b0 |