Skip to content

Checking if the request object url is a graph url #357

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

Merged
merged 4 commits into from
Nov 18, 2020

Conversation

nikithauc
Copy link
Contributor

in #351, I made changes to add/drop telemetry headers if the request URL is /isn't a Graph URL.

Added one more small change in the TelemetryHandler to read the request url from the context.request(which could be a string or a Request object) before checking if the url is a Graph URL or not.

zengin
zengin previously approved these changes Nov 18, 2020
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for including the suggestion

@nikithauc nikithauc merged commit c1b957f into dev Nov 18, 2020
@nikithauc nikithauc deleted the nikithauc/remove-headers-requestObject branch November 18, 2020 22:37
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.

3 participants