ovh / python-ovh

Thin wrapper around OVH's APIs. Handles all the hard work including credential creation and requests signing.
https://pypi.org/project/ovh/
Other
278 stars 76 forks source link

feat: added support for headers when calling ovh.Client.raw_call #84

Closed geoffreybauduin closed 2 years ago

geoffreybauduin commented 4 years ago

This feature aims at making available the use of headers while calling the OVH API. The original behavior is preserved, as the signature changes with the introduction of a non-mandatory parameter "header", which is None by default. Added a piece of documentation to warn the user about the possbility to have some headers being rewritten by the Client engine.

Signed-off-by: Geoffrey Bauduin geoffrey.bauduin@corp.ovh.com

LukeMarlin commented 4 years ago

As a more general comment, what's your use case for this? Is it worth mentioning in the README?