Skip to content
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

fix: Fixing logging of http request and response #601

Merged
merged 4 commits into from
Apr 7, 2022

Conversation

rakatyal
Copy link
Contributor

@rakatyal rakatyal commented Apr 6, 2022

Internal Reference. Keeping this consistent with Node and Csharp

@rakatyal rakatyal changed the title Fixing logging of http request and response fix: Fixing logging of http request and response Apr 6, 2022
for key, value in kwargs['headers'].items():
# Do not log authorization headers
if 'authorization' not in key.lower():
self.logger.info('{} : {}'.format(key, value))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could remove space before :

@sonarcloud
Copy link

sonarcloud bot commented Apr 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@rakatyal rakatyal merged commit f14cbca into main Apr 7, 2022
@rakatyal rakatyal deleted the rkatyal/clean_up_log branch April 7, 2022 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants