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

Move isSecure flag to HttpInterceptor.Context #277

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

mikkokar
Copy link
Contributor

Concludes the work for #274.

  • Move isSecure attribute from HTTP request objects into HttpInterceptor.Context.

This has an implication to a request logging feature. The isSecure is no longer a request attribute, and therefore it no longer appears in request's textual representation. It is logged separately from the request, but only when Interceptor.Context is available. Therefore isSecure is logged for the inbound requests because the interceptor context is visible for the inbound request logger. But it is not logged for outbound requests because the context is not visible to the StyxHttpClient that logs the outbound requests.

@mikkokar mikkokar merged commit 9ff71fc into ExpediaGroup:master Sep 11, 2018
@mikkokar mikkokar deleted the issue-274-isSecure branch April 1, 2019 08:38
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.

2 participants