-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Harmonize HttpClient creation in SpaProxyLaunchManager #33164
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
Harmonize HttpClient creation in SpaProxyLaunchManager #33164
Conversation
- Addition to dotnet#33135 - the ACCEPT Header was previously only set during the `StartInBackground` method, but was missing from the `IsSpaProxyRunning` method. - Extract HttpClient creation into method to ensure that the HttpClient used for probing the frontend development server is instantiated with consistent settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Added a couple of suggestions just to stay on the safer side. Otherwise, its good to go.
- Add low quality factor to 'Any MIME type' accept header
@javiercn Thanks for your review! Is there any further action required from my side? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
StartInBackground
method, but was missing from theIsSpaProxyRunning
method.Adresses #33115