-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Python: Support Prepared Requests - Experimental Module #16612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution, this looks good! |
|
Awesome thanks! Sure I will give it a try, are there docs on how to write test cases? I tried looking for some but I came up short. |
|
You can create a directory with some python files and some You can also use If you don't get the results you expected, a |
|
This PR has been inactive for a while, and is being closed. Please reopen the PR or open a new one if you'd like to move this forward. |
Aims to add support for requests library's Prepared Requests as a part of the Http::Client::Request API. To support the required getAUrlPart method, we do some tracking to the Request Object where the value is defined in an argument position 1. Intended to mirror the existing OutgoingRequestCall getAUrlPart behavior for the traditional requests calls.
https://requests.readthedocs.io/en/latest/user/advanced/#prepared-requests
Example 1:
Example 2:
Example 3:
Example 4:
The disablesCertificateValidation and getFramework method are the same as the existing OutgoingRequestCall.