You are here |
shrik3.com | ||
| | | |
pen.so
|
|
| | | | CryptoKit ChaChaPoly using Ruby or Python | |
| | | |
blog.nobugware.com
|
|
| | | | Python requests is the de facto HTTP package for Python, nice API, wonderful documentation. I had the need to sign my requests and to change the header after the request was built, [here is hooks](http://docs.python- requests.org/en/v0.10.7/user/advanced/#event-hooks), simply call a function pre_request and your are done: def auth_sign(req): user_id = '4f47a5f21aebcedff3001234' secret_key = 'C21LHQ5R4RVO2U2UMTEZ' timestamp = str(int(time.mktime(time.gmtime()))) string_to_sign = req.method + '\n' + user_i... | |
| | | |
www.python-httpx.org
|
|
| | | | A next-generation HTTP client for Python. | |
| | | |
www.hhyu.org
|
|
| | Science, programming, books, and other interesting stuff |