Skip to content

fix(http): do not display warnings Angular detected that a HttpClient request with the keepalive option was sent using XHR when option is not true#62536

Closed
alan-agius4 wants to merge 1 commit intoangular:mainfrom
alan-agius4:http-xhr-validate
Closed

Conversation

@alan-agius4
Copy link
Copy Markdown
Contributor

Currently, this warning is always displayed as the option defaults to false. We update the logic to only display the warning when it's true.

…nt` request with the `keepalive` option was sent using XHR` when option is not true

Currently, this warning is always displayed as the option defaults to false. We update the logic to only display the warning when it's true.
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: rc This PR is targeted for the next release-candidate labels Jul 9, 2025
@pullapprove pullapprove bot requested a review from crisbeto July 9, 2025 07:33
@angular-robot angular-robot bot added the area: common/http Issues related to HTTP and HTTP Client label Jul 9, 2025
@ngbot ngbot bot added this to the Backlog milestone Jul 9, 2025
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 9, 2025
@AndrewKushnir AndrewKushnir added target: patch This PR is targeted for the next patch release and removed target: rc This PR is targeted for the next release-candidate labels Jul 9, 2025
@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 75a5d08.

The changes were merged into the following branches: main, 20.1.x

AndrewKushnir pushed a commit that referenced this pull request Jul 9, 2025
…nt` request with the `keepalive` option was sent using XHR` when option is not true (#62536)

Currently, this warning is always displayed as the option defaults to false. We update the logic to only display the warning when it's true.

PR Close #62536
@gemini-code-assist
Copy link
Copy Markdown

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@alan-agius4 alan-agius4 deleted the http-xhr-validate branch July 9, 2025 19:45
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: common/http Issues related to HTTP and HTTP Client target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants