Closed teranpeterson closed 2 years ago
Hey, @terandev - real sorry for the late response - we are finally getting around to addressing these PRs
Any changes to our resilient
library has to be rigorously tested as there is a lot of code out there that depends on it
We think what you are trying to do is possible without any modifications to our library by just updating the URI of the request:
Adds
header=None
as an option to all python requests. Passes this value tomake_headers
.Description
Changed every request call in the co3 and co3base function to allow users to pass in a dictionary of header values. These values are passed to the
make_headers
function asadditional_headers
where they are combined with theco3_context_token
into a single dictionary.Motivation and Context
Allows users to pass in headers. Specific need that prompted this was setting the
handle_format
. Fixes #10How Has This Been Tested?
Tested locally with our version of Resilient. No new tests added because minimal changes made and functions already tested.
Checklist:
Signed-off-by: DCO 1.1 Signed-off-by: Teran Peterson teranpeterson@outlook.com