Commit graph

6 commits

Author SHA1 Message Date
840b2fd476
Set the user agent string to all requests
Fixes issue with accessing instances using Cloudfare DDOS protection.

issue #106
2019-08-07 22:58:30 +02:00
226713a5a0
Apply requests environment settings
Allows use of enironment variables for setting proxies and trusted CAs.

See:
http://docs.python-requests.org/en/master/user/advanced/#prepared-requests
2018-12-30 10:38:40 +01:00
72f88831ad
Add delete command
issue #54
2018-06-14 10:40:16 +02:00
025d8dde09
Use Idempotency-Key header when posting toots 2018-06-13 13:22:52 +02:00
92d4dc745a
Use http methods instead of requests directly 2017-12-30 16:30:35 +01:00
20eaf86b56
Extract http methods 2017-12-30 14:15:51 +01:00